码迷,mamicode.com
首页 > Web开发 > 详细

php编译选项

时间:2019-06-29 01:21:23      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:config   ati   ble   fpm   efi   clu   free   pat   file   

./configure --with-apxs2=/usr/local/httpd-2.4.33/bin/apxs \
--with-curl \
--with-freetype-dir=/usr/local/freetype \
--with-gd \
--with-gettext \
--with-iconv-dir \
--with-mysqli \
--with-mysql-sock=/var/lib/mysql/mysql.sock \
--with-pdo-mysql \
--with-openssl \
--with-pcre-regex \
--with-pdo-sqlite \
--with-pear \
--with-png-dir=/usr/local/libpng \
--with-jpeg-dir=/usr/local/libjpeg \
--with-xsl \
--with-zlib \
--with-libxml-dir=/usr/local/libxml2/ \
--enable-fpm \
--enable-bcmath \
--enable-libxml \
--enable-inline-optimization \
--enable-mbregex \
--enable-mbstring=all \
--enable-opcache \
--enable-pcntl \
--enable-shmop \
--enable-soap \
--enable-sockets \
--enable-sysvsem \
--enable-xml \
--enable-zip  \
--enable-pdo

 

 ./configure --prefix=/usr/local/php7 \
--with-config-file-path=/usr/local/php7/etc \
--with-config-file-scan-dir=/usr/local/php7/etc/php.d \
--with-mcrypt=/usr/include \
--enable-mysqlnd \
--with-mysqli \
--with-pdo-mysql \
--enable-fpm \
--with-fpm-user=nginx \
--with-fpm-group=nginx \
--with-gd \
--with-iconv \
--with-zlib \
--enable-xml \
--enable-shmop \
--enable-sysvmsg \
--enable-inline-optimization \
--enable-mbregex \
--enable-mbstring \
--enable-ftp \
--enable-gd-native-ttf \
--with-openssl \
--enable-pcntl \
--enable-sockets \
--with-xmlrpc \
--enable-zip \
--enable-soap \
--without-pear \
--with-gettext \
--enable-session \
--with-curl \
--with-jpeg-dir \
--with-freetype-dir \
--enable-opcache \
--enable-sysvshm \
--enable-sysvsem

 

php编译选项

标签:config   ati   ble   fpm   efi   clu   free   pat   file   

原文地址:https://www.cnblogs.com/yipianchuyun/p/11105352.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!