php 编译参数

编译前需要的安装的依赖包有:

yum -y install libxml2 libxml2-devel openssl openssl-devel curl-devel libjpeg-devel libpng-devel freetype-devel libmcrypt-devel   openldap   openldap-devel  libxslt  libxslt-devel pcre pcre-devel bzip2 bzip2-devel systemd-devel libacl-devel gmp-devel libicu-devel readline-devel libtidy-devel


我是分割线——————————————————————————————————————————————

./configure --prefix=/usr/local/php72 --with-config-file-path=/usr/local/php72/etc --with-config-file-scan-dir=/usr/local/php72/conf.d --enable-fpm --with-fpm-user=www --with-fpm-group=www --with-fpm-systemd --with-readline --with-curl --enable-mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-xsl --with-openssl --with-iconv-dir --enable-xml --enable-mbstring --enable-intl --with-gd --with-jpeg-dir --with-png-dir --with-libxml-dir --with-mhash --with-freetype-dir --with-gettext --with-xmlrpc --with-bz2 --enable-soap --enable-sockets --enable-pcntl --enable-zip --enable-bcmath --enable-shmop --enable-sysvsem --enable-sysvmsg --enable-sysvshm --enable-ftp --enable-wddx --enable-calendar --enable-dba --enable-exif --disable-rpath --with-fpm-acl --with-gmp --with-ldap --with-ldap-sasl --with-tidy --with-libzip --with-zlib \

--enable-phpdbg \
--enable-phpdbg-debug \
--enable-debug

你可能感兴趣的:(php 编译参数)