PHP source code when assembling the parameters

Source: Internet
Author: User
PHP source code when installing the parameters

Install PHP under Linux, source code mode installation, always need to configure a lot of parameters. The common configuration parameters are listed here and explained in detail in Chinese.

Give us some references./configure

–prefix=/usr/local/php?????????????????????????????????? PHP installation directory
–with-apxs2=/usr/local/apache/bin/apxs
–with-config-file-path=/usr/local/php/etc?????????????? Specify PHP.ini location
–with-mysql=/usr/local/mysql??????????????????????? MySQL installation directory, support for MySQL
–with-mysqli=/usr/local/mysql/bin/mysql_config??????????? Mysqli file directory, optimization support
–enable-safe-mode????????????????????????????? Turn on Safe mode
–enable-ftp???????????????????????????????? Turn on FTP support
–enable-zip???????????????????????????????? Open support for Zip
–WITH-BZ2??????????????????????????????????? Open support for the bz2 file????????????????????????
–with-jpeg-dir???????????????????????????????? Turn on support for JPEG pictures
–with-png-dir???????????????????????????????? Turn on support for PNG images
–with-freetype-dir????????????????????????????? Open support for the FreeType font library
–without-iconv???????????????????????????????? Turn off Iconv function, conversion between kinds of character sets
–with-libxml-dir???????????????????????????????? Open support for the LIBXML2 library
–with-xmlrpc???????????????????????????????? Open XML-RPC's C language
–with-zlib-dir???????????????????????????????? Open support for the zlib library
–WITH-GD??????????????????????????????????? Open the GD library support
–enable-gd-native-ttf?????????????????????????? Support for TrueType string function libraries
–with-curl??????????????????????????????????? Turn on support for the Curl browsing tool
–with-curlwrappers????????????????????????????? Use the Curl tool to open the URL stream
–with-ttf??????????????????????????????????? Open the freetype1.* support, can not add
–with-xsl???????????????????????????????????? Open XSLT file support, expand the LibXML2 Library, need libxslt software
–with-gettext???????????????????????????????? Open GNU GetText Support, the code library used to
–with-pear????????????????????? Open the support for the Pear command, PHP extension
–enable-calendar????????????????? Turn on the Calendar extensions feature
–enable-mbstring????????????????? Multi-byte, string support
–enable-bcmath????????????????? Turn on picture resizing, use this module when using Zabbix monitoring
–enable-sockets????????????????? Open Sockets support
–enable-exif????????????????????? Meta-data support for images
–enable-magic-quotes?????????????? Support for Magic Quotes
–disable-rpath???????????????????? Close additional run-Library files
–disable-debug????????????????? To turn off debug mode
–with-mime-magic=/usr/share/file/magic.mime????? Magic Header File Location

  • 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.