php7 安装
编译安装
wget http://cn2.php.net/distributions/php-7.2.4.tar.gztar -zxf
php-7.2.4.tar.gz./configure --prefix=/usr/local/php
\--prefix=/usr/local/php
\--with-config-file-path=/usr/local/php/etc
\--with-mysql-sock=/var/lib/mysql/mysql.sock
\-with-libxml-dir=/usr
\--with-iconv-dir
\--with-mhash
\--with-openssl
\--with-mysqli=shared,mysqlnd
\--with-pdo-mysql=shared,mysqlnd
\--with-gd
\--with-iconv
\--with-zlib
\--enable-zip \--enable-inline-optimization
\--disable-debug
\--disable-rpath
\--enable-shared
\--enable-xml
\--enable-bcmath
\--enable-shmop
\--enable-sysvsem
\--enable-mbregex
\--enable-mbstring
\--enable-ftp
\--enable-pcntl
\--enable-sockets
\--with-xmlrpc
\--enable-soap
\--without-pear
\--with-gettext
\--enable-session
\--with-curl
\--with-jpeg-dir
\--with-freetype-dir
Last updated