您的位置:首页 > 编程语言 > PHP开发

源码安装php5.6时的配置:

2016-01-06 18:54 721 查看
源码安装php5.6时的配置:

./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-bcmath --enable-shmop --enable-sysvsem
--enable-inline-optimization --with-curl --enable-mbregex --enable-fpm --enable-mbstring --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-zlib --enable-pdo

如果mysql在php安装之后安装的,还需要挂载mysql.so扩展。参考:/article/5092642.html

然后重启php-fpm及nginx即可.

但是为什么禁用掉exec函数之后,shell里面还是可以使用exec函数呢?
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: