Swoole compilation and installation is successful, php-m does not show, various methods have been tried, please take a look at the boss

1, do not go
2 in make test swoole_server/eof_protocol.phpt , but compile by generating swoole.so , php.ini also added configuration, solve

Mar.01,2021

you can try to restart nginx, first, if you haven't already, share my practice, because I put my notes in my impression notes. All copies may be pasted less
attachment:
1: in / create the swoole directory
2:cd / swoole
3:tar zxvf swoole-src-2.0.10-stable.tar.gz (decompress)
4:cd swoole-src-2.0.10-stable
5:/usr/local/php/bin/phpize (phpize path depends on the actual situation)
6:. / configure-- with-php-config=/usr/local/php/bin/php-config (the result is shown below)

7: the following figure of make & & make install (is the result)

8:make test (the following figure shows the result)

as shown in the picture, error, reported an error. At this time, the translation error content is: proc_open () in the php.ini file is disabled. Find it and allow it (ini is usually under / usr/local/php/etc)

.

as shown in the picture, he disabled many functions. Laozi had a bad temper
on the spot, and then restarted fpm and nginx

.

found that the restart did not report an error. The result of continuing to execute make test is as follows

after we found make test, there are many fail, such as big_package_memory_leak [tests/swoole_client_async/big_package_memory_leak.phpt]
, but I don't know what to do

I tried to restart php-fpm, and restart nginx,. I found that there was an error in Nginx. I executed it again and found that there was no problem. I'll see if it will be affected later

since there is no way to solve the fail, brought by make test, I decided to check directly whether the swoole is installed
executed php-m and found that there was nothing swoole, thought of at this time. Extension=swoole.so,
added extension=swoole.so
to the last line of php.ini to restart php-fpm and nginx
to execute php-m

.

Don't worry, take a look at phpinfo

has been installed

Note: there is also a reference below, but I haven't tried
https://www.cnblogs.com/taiko.

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c1c5d1-332cf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c1c5d1-332cf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?