php7 编译参数

Posted 詹老师

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php7 编译参数相关的知识,希望对你有一定的参考价值。

./configure --prefix=/usr/local/php7 \
--with-config-file-path=/usr/local/php7/etc \
--with-mysqli \
--enable-fpm \
--with-fpm-user=www-data \
--with-fpm-group=www-data \
--with-pdo-mysql=mysqlnd \
--with-iconv-dir \
--with-freetype-dir \
--with-jpeg-dir \
--with-png-dir \
--with-zlib \
--with-libxml-dir \
--enable-xml \
--enable-bcmath \
--enable-shmop \
--enable-sysvsem \
--enable-inline-optimization \
--with-curl \
--enable-mbregex \
--enable-mbstring \
--enable-intl \
--with-mcrypt \
--enable-ftp \
--with-gd \
--enable-gd-native-ttf \
--with-openssl \
--with-mhash \
--enable-pcntl \
--enable-sockets \
--with-xmlrpc \
--enable-zip \
--enable-soap \
--with-gettext \
--enable-opcache \
--with-xsl




































以上是关于php7 编译参数的主要内容,如果未能解决你的问题,请参考以下文章

php7.2编译参数

linux 编译安装php7

Centos编译安装PHP7

源码编译安装PHP7

Ubuntu编译PHP7问题

PHP8、FPM及部分扩展编译安装