In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the easyswoole one-click installation script and pagoda installation error example analysis, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
Text
#! / bin/bashcomposer config-g repo.packagist composer https://mirrors.aliyun.com/composer/;composer require easyswoole/easyswoole=3.x;php vendor/easyswoole/easyswoole/bin/easyswoole install;php easyswoole start
Later, the script will be placed on the server, provided for download, and the actual one-line command installation will be achieved.
Pay attention
This script will switch the global composer image to Ali Cloud.
When installed, it will start automatically by default.
Knowledge point expansion:
Installation of EsaySwoole in Linux Pagoda
Install EsaySwoole link: https://www.easyswoole.com/Manual/2.x/Cn/_book/Introduction/install.html
The swoole extension installed on the pagoda panel does not necessarily support the latest version of EsaySwoole
And the swoole extension of the pagoda panel is not easy to upgrade.
So you can only uninstall yourself, recompile and install the extension Swoole.
Swoole extended address https://pecl.php.net/package/swoole
Find the version you need
Download swoole:wget https://pecl.php.net/get/swoole-4.3.1.tgz
Unzip: tar-zxvf the zip package you downloaded by yourself
Enter the decompressed file: cd swoole-4.3.1
Generate configure file: phpize
Compile:
. / configure-- with-php-config=/www/server/php/73/bin/php-config / / the directory where the files of your own PHP environment are located
Compile and install swoole
Make & & make install
Or
Makemake install
Finally, add at the end of the configuration file php.ini
Extension = swoole.so
Thank you for reading this article carefully. I hope the article "easyswoole one-click installation script and example analysis of pagoda installation errors" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.