Questions about compiling and installing PHP

WBOY
Release: 2023-03-02 06:32:02
Original
1255 people have browsed it

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

Reply content:

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

  1. An article from the previous year on this site https://segmentfault.com/a/1190000002717262

  2. Official document core configuration options http://php.net/manual/zh/configure.about.php

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!