php7编译参数

先批量yum:

yum install libxml2 libxml2-devel openssl-devel curl curl-devel turbojpeg-devel libjpeg-turbo-devel libpng-devel libXpm-devel freetype-devel libXpm-devel libicu-devel xslt libxslt-devel -y

centos8不更新了,centos7的yum还能用,后面用ubuntu吧.

./configure –prefix=/home/system/php \
–with-mysqli \
–enable-fpm \
–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 \
–enable-ftp \
–with-gd \
–with-openssl \
–with-mhash \
–enable-pcntl \
–enable-sockets \
–with-xmlrpc \
–enable-zip \
–enable-soap \
–with-gettext \
–enable-opcache \
–with-xsl

发表评论

您的电子邮箱地址不会被公开。