PHP安装之configure的配置参数
生活随笔
收集整理的這篇文章主要介紹了
PHP安装之configure的配置参数
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1、生成環境安裝配置如下
要求安裝如下庫:
imagick
gd
mysql
mysqli
mysqlnd
phalcon
Phar
soap
sockets
xwebxsvc
zip
zlib
具體查看 vim php-config 就可以知道是如何配置的
--prefix=/home/php' '--with-config-file-path=/home/php/etc' '--with-mysql' '--with-pdo-oci' '--with-openssl' '--with-pear' '--with-mhash' '--with-xmlrpc' '--with-zlib' '--with-mcrypt' '--with-curl' '--with-gd' '--with-freetype-dir=/usr/include/freetype2' '--without-sqlite3' '--without-pdo-sqlite' '--disable-rpath' '--without-pear' '--enable-fpm' '--enable-maintainer-zts' '--enable-pcntl' '--with-tsrm-pthreads' '--enable-mbstring' '--enable-mbregex' '--enable-bcmath' '--enable-zip' '--enable-sockets' '--enable-soap' '--enable-gd-native-ttf' '--enable-xml' '--enable-inline-optimization' '--enable-opcache?
./configure' '--prefix=/home/php' '--with-config-file-path=/home/php/etc' '--with-mysql' '--with-pdo-oci' '--with-openssl' '--with-pear' '--with-mhash' '--with-xmlrpc' '--with-zlib' '--with-mcrypt' '--with-curl' '--with-gd' '--with-freetype-dir=/usr/include/freetype2' '--without-sqlite3' '--without-pdo-sqlite' '--disable-rpath' '--without-pear' '--enable-fpm' '--enable-maintainer-zts' '--enable-pcntl' '--with-tsrm-pthreads' '--enable-mbstring' '--enable-mbregex' '--enable-bcmath' '--enable-zip' '--enable-sockets' '--enable-soap' '--enable-gd-native-ttf' '--enable-xml' '--enable-inline-optimization' '--enable-opcache?
轉載于:https://www.cnblogs.com/wanglijun/p/8778204.html
總結
以上是生活随笔為你收集整理的PHP安装之configure的配置参数的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 看新闻的时间用的太多了
- 下一篇: 常系数线性递推的第n项及前n项和(转载)