php编译时的参数及简单介绍

[php] 2024-04-26 圈点314

摘要:php编译时的参数及简单介绍

php编译时的参数及常用的命令

./configure  --prefix=/usr/local/php  --with-config-file-path=/usr/local/php/etc --enable-fpm --enable-mbstring --with-gd --enable-gd-native-ttf --with-mhash --with-openssl  --enable-zip  --enable-libxml  --enable-xml  --enable-bcmath --disable-soap --enable-session  --enable-ctype --enable-inline-optimization --enable-opcache  --enable-mbregex  --disable-shared    --disable-debug --disable-rpath --with-png-dir  --with-jpeg-dir --with-freetype-dir  --with-zlib-dir  --with-mcrypt  --with-libxml-dir --with-iconv-dir --disable-shmop  --enable-sysvsem   --enable-fpm --with-xmlrpc  --without-pear  --with-gettext   --with-curl --with-mysql --with-pdo-mysql --with-mysqli


自行编译的php-fpm程序,一般在指定安装目录下的sbin目录下的php-fpm

php-fpm使用方法

# 启动

service php-fpm start

# 关闭

service php-fpm stop

# 重启

service php-fpm restart

# 重载

service php-fpm reload

#检查配置文件

service php-fpm configtest

  

相关内容:

感谢反馈,已提交成功,审核后即会显示