编译安装过PHP的人都知道,编译的时候会配置很多参数,如下:
./configure –prefix=/usr/local/php –with-config-file-path=/usr/local/php/etc –enable-fpm –enable-pcntl –enable-mysqlnd –enable-
搞gaodaima代码
opcache –enable-sockets –enable-sysvmsg –enable-sysvsem –enable-sysvshm –enable-shmop –enable-zip –enable-ftp –enable-soap –enable-xml –enable-mbstring –disable-rpath –disable-debug –disable-fileinfo –with-mysql –with-mysqli –with-pdo-mysql –with-pcre-regex –with-iconv –with-zlib –with-mcrypt –with-gd –with-openssl –with-mhash –with-xmlrpc –with-curl
有的时候按php的版本会废弃某些参数,有的版本增加了某些参数。
我提问就让我看help,但是都是英文的,实在搞不太明白。
哪位大神能给个资料或者资源,是中文的,主要介绍配置php的这些选项的,3q
回复内容:
编译安装过PHP的人都知道,编译的时候会配置很多参数,如下:
./configure –prefix=/usr/local/php –with-config-file-path=/usr/local/php/etc –enable-fpm –enable-pcntl –enable-mysqlnd –enable-opcache –enable-sockets –enable-sysvmsg –enable-sysvsem –enable-sysvshm –enable-shmop –enable-zip –enable-ftp –enable-soap –enable-xml –enable-mbstring –disable-rpath –disable-debug –disable-fileinfo –with-mysql –with-mysqli –with-pdo-mysql –with-pcre-regex –with-iconv –with-zlib –with-mcrypt –with-gd –with-openssl –with-mhash –with-xmlrpc –with-curl
有的时候按php的版本会废弃某些参数,有的版本增加了某些参数。
我提问就让我看help,但是都是英文的,实在搞不太明白。
哪位大神能给个资料或者资源,是中文的,主要介绍配置php的这些选项的,3q
-
本站上一年的一篇文章 https://segmentfault.com/a/1190000002717262
-
官方文档核心配置选项 http://php.net/manual/zh/configure.about.php