Php source code assembly parameters

Source: Internet
Author: User
When installing php source code, you must install PHP in Linux. many parameters are required. Common configuration parameters are listed here and explained in Chinese. For your reference. /configure-prefix =/usr/local/PHP ????????????????????????????? ??? Parameters for installing php source code

Install PHP in Linux and install it in source code mode. many parameters need to be configured. Common configuration parameters are listed here and explained in Chinese.

For your reference./configure

-Prefix =/usr/local/PHP ??????????????????????????????? ??? Php installation directory
-With-apxs2 =/usr/local/apache/bin/apxs
-With-config-file-path =/usr/local/PHP/etc ?????????????? Specify the php. ini location
-With-MySQL =/usr/local/mysql ??????????????????????? Mysql installation directory, which supports mysql
-With-MySQLi =/usr/local/mysql/bin/mysql_config ??????????? Mysqli file directory, optimized support
-Enable-safe-mode ????????????????????????????? Enable security mode
-Enable-ftp ???????????????????????????????? Enable ftp support
-Enable-zip ???????????????????????????????? Open support for zip
-With-bz2 ??????????????????????????????????? Open the support for bz2 files ????????????????????????
-With-jpeg-dir ???????????????????????????????? Enable support for jpeg images
-With-png-dir ???????????????????????????????? Open support for png images
-With-freetype-dir ????????????????????????????? Open support for freetype library
-Without-iconv ???????????????????????????????? Disable the iconv function to convert character sets.
-With-libXML-dir ???????????????????????????????? Open libxml2 library support
-With-XMLrpc ???????????????????????????????? Open the C language of xml-rpc
-With-zlib-dir ???????????????????????????????? Support for opening zlib library
-With-gd ??????????????????????????????????? Support for opening the gd Library
-Enable-gd-native-ttf ?????????????????????????? Support TrueType string function library
-With-curl ??????????????????????????????????? Enable support for the curl browser tool
-With-curlwrappers ????????????????????????????? Use curl to open a url Stream
-With-ttf ??????????????????????????????????? Enable freetype1. *.
-With-xsl ???????????????????????????????????? Open the XSLT file support and extend the libXML2 library. libxslt software is required.
-With-gettext ???????????????????????????????? Open the gnu gettext support, which is used by the encoding library.
-With-pear ????????????????????? Open support for the pear command and use
-Enable-calendar ????????????????? Enable calendar extension
-Enable-mbstring ????????????????? Multi-byte, string supported
-Enable-bcmath ????????????????? This module is used when zabbix monitoring is used to enable image size adjustment.
-Enable-sockets ????????????????? Enable sockets support
-Enable-exif ????????????????????? Metadata support for images
-Enable-magic-quotes ?????????????? Magic reference support
-Disable-rpath ???????????????????? Close additional running library files
-Disable-debug ????????????????? Disable debugging 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.