php7 编译参数详解,php7.4.5编译安装参数变更
Last updated on 2020年6月11日
php7.3/7.4開始,很多之前的配置取消或者變更了,比如不支持“–with-gd, –with-mcrypt,? –with-libmbfl,? –with-libxml-dir,??–with-freetype-dir, –with-jpeg-dir, –with-png-dir。 需要根據新的編譯說明進行修改??梢詤⒄?./configure –help查看。
./configure --prefix=/usr/local/php7 \
--with-config-file-path=/usr/local/php7/etc \
--with-config-file-scan-dir=/usr/local/php7/conf.d \
--enable-fpm --with-fpm-user=www --with-fpm-group=www \
--enable-mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd \
--enable-cli \
--enable-mbstring \
--enable-gd \
--enable-xml \
--enable-mbregex \
--enable-opcache \
--enable-soap \
--enable-sockets \
--enable-intl \
--enable-pcntl \
--enable-bcmath \
--enable-shmop \
--enable-ftp \
--enable-inline-optimization \
--enable-sysvsem \
--enable-sysvshm \
--with-openssl \
--with-curl \
--with-zip \
--with-zlib \
--with-xmlrpc \
--with-iconv=/path/to/iconv \
--with-freetype=/path/to/freetype \
--with-jpeg \
--without-pear \
--disable-phar
總結
以上是生活随笔為你收集整理的php7 编译参数详解,php7.4.5编译安装参数变更的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 烟台毓璜顶医院周围哪有电动车充电桩?
- 下一篇: 腌蒜放冰箱味太大,有密封盒吗?