Appendix: The compilation parameters of the PHP versions for the Web are as follows.

Source: Internet
Author: User
Tags dbase dbx dio zts

FAST-CGI:
./configure--prefix=/usr/local/php--enable-fastcgi--enable-force-cgi-redirect--with-config-file-path=/etc-- With-zlib--with-mysql--with-xml--with-gd--enable-gd-native-ttf--enable-gd-jis-conv--with-freetype-dir-- With-jpeg-dir--with-png-dir--enable-mbstring

Php4-server:
./configure--prefix=/usr/local/php--with-apxs2=/usr/local/apache2/bin/apxs--with-mysql--with-config-file-path= /etc--with-gd--enable-gd-native-ttf--enable-gd-jis-conv--with-freetype-dir--with-jpeg-dir--with-png-dir-- With-zlib--enable-xml--enable-mbstring

Php4-max:
./configure--prefix=/usr/local/php--with-apxs2=/usr/local/apache/bin/apxs--mandir=/usr/share/man--with-mysql=/ Usr/local/mysql--with-config-file-path=/usr/local/php/etc--with-openssl=/usr/local/openssl-0.9.7e--WITH-GD-- Enable-gd-native-ttf--enable-gd-jis-conv--with-freetype-dir--with-jpeg-dir--with-png-dir--with-zlib--with-bz2- -with-inifile--with-hyperwave--enable-xml--enable-track-vars--enable-dba--enable-dbase--enable-filepro-- Enable-ftp--enable-versioning--enable-memory-limit--enable-calendar--enable-session--enable-sockets-- Enable-sysmsg--enable-sysvsem--enable-sysvshm--enable-tokenizer--enable-overload--enable-ctype-- Enable-sigchild--enable-magic-quotes--enable-roxen-zts--enable-fastcgi--enable-dbx--enable-dio--enable-shmop-- Enable-mbstring

php5-server:
./configure--prefix=/usr/local/php--with-apxs2=/usr/local/apache2/bin/apxs--with-zlib-dir-- with-bz2--with-tiff-dir--with-libxml-dir--with-gd--with-freetype-dir--with-jpeg-dir--with-png-dir--with-ttf-- Enable-mbstring--with-mysql=/usr/lib/mysql--with-config-file-path=/etc--disable-ipv6--enable-gd-native-ttf

php5-standard:
./configure--prefix=/usr/local/php--with-apxs2=/usr/local/apache/bin/apxs--mandir=/usr/ Share/man--with-openssl=/usr/local/openssl-0.9.7e--with-zlib--with-bz2--with-tiff-dir--with-libxml-dir-- Enable-dio--enable-ftp--with-gd--with-freetype-dir--with-jpeg-dir--with-png-dir--with-zlib-dir--with-bz2-dir-- With-ttf--enable-mbstring--with-mysql=/usr/local/mysql--with-config-file-path=/usr/local/php/etc--disable-ipv6 --enable-gd-native-ttf

Php5-max:
./configure--prefix=/usr/local/php--with-apxs2=/usr/local/apache/bin/apxs--mandir=/usr/share/man--with-openssl =/usr/local/openssl-0.9.7e--with-zlib--with-bz2--with-tiff-dir--with-libxml-dir--enable-dio--enable-ftp-- WITH-GD--with-freetype-dir--with-jpeg-dir--with-png-dir--with-zlib-dir--with-bz2-dir--with-ttf--with-inifile-- ENABLE-DBA--enable-dbase--enable-filepro--enable-versioning--enable-memory-limit--enable-calendar-- Enable-sockets--enable-sysvsem--enable-sigchild--enable-magic-quotes--enable-roxen-zts--enable-fastcgi-- Enable-dbx--enable-shmop--enable-mbstring--with-mysql=/usr/local/mysql--with-config-file-path=/usr/local/php/ etc--disable-ipv6--enable-gd-native-ttf


Appendix: The compilation parameters for each version of PHP found online are as follows.

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.