标签:port efault evel inline important sbin 压缩包 usr too
tar –zxvf php-7.2.0.tar.gz
cd php7.2.0
yum install libxml2 libxml2-devel openssl openssl-devel libcurl libcurl-devel libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libmcrypt libmcrypt-devel -y
./configure --prefix=/usr/local/php720 --with-mysqli --with-pdo-mysql --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir --enable-simplexml --enable-xml --disable-rpath --enable-bcmath --enable-soap --enable-zip --with-curl --enable-fpm --with-fpm-user=nobody --with-fpm-group=nobody --enable-mbstring --enable-sockets --with-gd --with-openssl --with-mhash --enable-opcache --disable-fileinfo
cd /usr/local/php720/etc cp php-fpm.conf.default php-fpm.conf
/usr/local/php720/sbin/php-fpm
cd /usr/local/php720/etc/php-fpm.d cp www.conf.default www.conf
pkill php-fpm
/usr/local/php720/sbin/php-fpm
标签:port efault evel inline important sbin 压缩包 usr too
原文地址:https://www.cnblogs.com/houdj/p/8984791.html