Questions about compiling and installing PHP

Source: Internet
Author: User
Tags mcrypt
People who compiled and installed PHP know that when compiling, they will configure many parameters 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 the PHP version discards certain parameters, and some versions add some parameters.
I asked for help, but all in English, I really do not understand.
Which big God can give a material or resources, is Chinese, mainly introduces the configuration of these options PHP, 3q

Reply content:

People who compiled and installed PHP know that when compiling, they will configure many parameters 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 the PHP version discards certain parameters, and some versions add some parameters.
I asked for help, but all in English, I really do not understand.
Which big God can give a material or resources, is Chinese, mainly introduces the configuration of these options PHP, 3q

    1. This site last year of an article https://segmentfault.com/a/1190000002717262

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

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.