php编译的注意事项
php编译的参数
./configure --prefix=/opt/php7 --with-config-file-path=/opt/php7/ --with-mysqli --with-pdo-mysql --with-iconv-dir --with-freetype --with-jpeg --with-zlib --with-libxml --with-curl --enable-gd --with-mhash --with-gettext --enable-xml --enable-shmop --enable-fpm --enable-mbstring --with-openssl --enable-mysqlnd --enable-sysvsem --enable-inline-optimization --enable-sockets --with-xmlrpc --enable-bcmath
需要注意的参数
–with-config-file-path 这个建议指定,没加这个参数的时候