一下是php7.2的安装位置

/usr/local/php7.2/bin/phpize

这个是swoole 4.2.9安装命令

./configure –with-php-config=/usr/local/php7.2/bin/php-config –enable-openssl –with-openssl-dir=/usr/local/openssl –enable-sockets –enable-mysqlnd

这个是开发的时候安装debug-log的情况

./configure –with-php-config=/usr/local/php7.2/bin/php-config –enable-openssl –with-openssl-dir=/usr/local/openssl –enable-sockets –enable-mysqlnd –enable-debug-log

–enable-swoole-debug | –enable-debug-log(>=4.2.0) debug是这样开启的
make clean && make && sudo make install

Comments are closed.

Post Navigation