Home > Article > Backend Development > Questions about compiling and installing PHP
Anyone who has compiled and installed PHP knows that many parameters will be configured during compilation, as follows:
./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
Sometimes certain parameters will be discarded according to the version of php, and some versions will add certain parameters.
When I asked a question, I was asked to read the help, but it was all in English and I really couldn’t understand it.
Which expert can provide some information or resources? It’s in Chinese and mainly introduces the options for configuring PHP. 3q
Anyone who has compiled and installed PHP knows that many parameters will be configured during compilation, as follows:
./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
Sometimes certain parameters will be discarded according to the version of php, and some versions will add certain parameters.
When I asked a question, I was asked to read the help, but it was all in English and I really couldn’t understand it.
Which expert can provide some information or resources? It’s in Chinese and mainly introduces the options for configuring PHP. 3q
An article from the previous year on this site https://segmentfault.com/a/1190000002717262
Official document core configuration options http://php.net/manual/zh/configure.about.php