php5.6 Installation

Source: Internet
Author: User
Tags gettext odbc mssql openssl version pear snmp sybase tidy
<span id="Label3"></p><p><p># yum--enablerepo=remi,remi-php56 Install php-fpm php-common php-mysql php-opcache php-pear php-gd php-devel Php-mbstrin G Php-mcrypt php-cli Php-pdo php-xml-y</p></p> <p><p># yum--enablerepo=remi,remi-php56 Install Php-intl php-imap–y</p></p> <p><p></p></p> <p><p>The previous installation is generally sufficient, the latter for the internationalization of the expansion</p></p> <p><p></p></p> <p><p></p></p> <p><p></p></p> <p><p>Additional 5.6 of the compiled installation:</p></p> <p><p>Linux compiled PHP when the option parameters quite a lot, today determined to <code>./configure --help > help.txt</code> export a list of compilation options and translated, convenient for later REVIEW.</p></p>SAPI modules (option for PHP SAPI interface module):<p><p>Mostly related to Web services such as apache, nginx, etc.</p></p> <pre><code> --with-aolserver=dir aolserver the installation Path--with-apxs=file compile the apache1.x version of the shared module stored in the Path--with-apache=dir compile the AP ache1.x version of the module, which is set as Apache software root directory--enable-mod-charset enable Apache Mod_charset (russian Apache)--with-apxs2filter=file Compile the apache2.0 shared filter module, which is set as the path to the Apache APXS tool--with-apxs2=file compile the module of the shared apache2.0 handler, which is set as the path to the Apache Apxs Tool--with-apach E-hooks=file shared apache1.0 's Hook module, which is set as the path to the Apache Apxs Tool--with-apache-hooks-static=dir here is the path to the Apache Apxs tool-- DISABLE-CLI disables command-line mode (php-cli)--with-continuity=dir compiles PHP as a continuous service module. The continuity parameter establishes an embedded SAPI library for the root directory of the installation of The--enable-embed=type Server. The parameter is shared, STATIC--ENABLE-FPM open fpm mode (nginx, etc.)--with-fpm-user=user fpm running user, default to Nobody--with-fpm-grou P=GRP FPM Run group, default is NOBODY--WITH-FPM-SYSTEMD activate system integration function, Open after fpm can escalate to the system some INFORMATION--WITH-FPM-ACL use POSIX access control list, 5.6 . version 5 Effective--with-isapi=dir Creating an ISAPI module for Zeus Web server--with-litespeed compiling PHP for Litespeed module--with-milter=dir Compiling PHP for Milter applications--with-nsApi=dir compiling PHP for Netscape/iplanet/sun Web server for NSAPI module--enable-phpdbg compile phpdbg debugger--enable-phpdbg-debug Editor Translate phpdbg Debugger for debug Mode--with-phttpd=dir compile PHP for phttpd module--with-pi3web=dir compile PHP for Pi3web module--with-roxen=dir Compile PHP for Roxen module--enable-roxen-zts compile php for roxen module, thread Safety--with-thttpd=srcdir compile php for thttpd module--with-tux=moduledir Compile PHP for Tux Module--with-webjames=srcdir compile PHP for webjames module--disable-cgi disable CGI</code></pre>General Settings (comprehensive setting):<pre><pre><code> --enable-gcov 开启gcov支持(测试代码覆盖率功能,) --enable-debug Compile with debugging symbols --with-layout=TYPE Set how installed files will be laid out. Type can be either PHP or GNU [PHP] --with-config-file-path=PATH php.ini文件位置[PREFIX/lib] --with-config-file-scan-dir=PATH 扫描配置文件的路径 --enable-sigchild 使用PHP自带的SIGCHLD处理器 --enable-libgcc 启用libgcc的精确链接 --disable-short-tags 默认禁用短形式的<?作为php代码的开始标记 --enable-dmalloc 启用dmalloc(dmalloc是Linux C编程侦测记忆体溢出工具) --disable-ipv6 关闭ipv6支持 --enable-dtrace 开启DTrace(动态跟踪)支持 --enable-fd-setsize 设置描述集的大小</code></pre></pre>Extensions (extended):<pre><code>Extensions:--with-extension=shared[,path] not all extensions can be compiled into a shared mode note:not all Extensions can be build as ' shared '. For example, how to compile the extension into a shared mode: Example:--with-foobar=shared,/usr/local/foobar/o Builds the foobar extension as shared Extens Ion. o foobar Package Install prefix Is/usr/local/foobar/--disable-all turn off default to all extended features enabled--with-regex=type regular table The Dashiku type. Option: system|php (default) warning: If you don't know what this is, don't move this option! --disable-libxml disabling libxml support--with-libxml-dir=dir libxml install Directory--with-openssl=dir enable OpenSSL support (the OpenSSL version number must be large 0.9.6)--with-kerberos=dir openssl: includes Kerberos support--with-system-ciphers openssl: use the System's own password list (cipher list) to replace hard-coded ( Hard Coded)--with-pcre-regex=dir Reference pear compatible Regular expression Library--without-sqlite3=dir do not turn on sqlite3 support--with-zlib=dir open zlib Support (zlib version number must be greater than or equal to 1.0.9)--with-zlib-dir=<dir> zlib installation Path--enable-bcmath enable Bcmatch (BC style precision Math)--with-bz 2=dir turn on BZip2--enable-calendar Enable calendar conversion support--disable-ctype Disable CTypeThe--with-curl=dir feature enables the DBA to enable Curl to SUPPORT--ENABLE-DBA architecture bundle Modules. The shared module to establish the extension uses the--enable-dba=shared parameter. --with-qdbm=dir dba:qdbm support--with-gdbm=dir dba:gdbm support--with-ndbm=dir dba:ndbm su Pport--with-db4=dir dba:oracle Berkeley DB 4.x or 5.x Support--with-db3=dir dba:oracle Berkeley DB 3.x Support--with-db2=dir dba:oracle Berkeley DB 2.x support--with-db1=dir dba:oracle Berkeley db 1.x support/emulation--with-dbm=dir dba:dbm support--with-tcadb=dir Dba:tokyo Cabinet abstract DB S Upport--without-cdb=dir dba:cdb support (bundled) (bundle mode)--disable-inifile dba:ini support (bundled) (bundled) --disable-flatfile dba:flatfile Support (bundled) (bundled)--disable-dom disable DOM Supports--with-libxml-dir=dir DOM: enable LIBXML2 and specify its installation Directory--with-enchant=dir enable Enchant Support. GNU Aspell version number must be higher than 1.1.3--enable-exif enable EXIF support (get metadata from Picture)--disable-fileinfo offFileInfo Support--disable-filter off input filter support--with-pcre-dir filter:pcre install Prefix--enable-ftp Open FTP support--with-openssl-dir=dir ftp:openssl install Prefix--with-gd=dir open GD image processing Library--with-vpx-dir =dir gd: Specifies the installation directory for Libvpx--with-jpeg-dir=dir gd: specifies the installation directory for Libjpeg--with-png-dir=dir gd: specifies the libpng installation Directory--with -zlib-dir=dir gd: Specify the installation directory for Libz--with-xpm-dir=dir gd: Specify the installation directory for Libxpm--with-freetype-dir=dir gd: Specify the installation directory for FreeType2 --with-t1lib=dir gd: Specify T1lib support--enable-gd-native-ttf gd: enable Turetype character Feature--enable-gd-jis-conv gd: enable Jis-map PED Japanese font support--with-gettext=dir contains GNU GetText support--with-gmp=dir enable GNU MP Support--with-mhash=dir Specify Mhash directory --disable-hash Disable Hash support--without-iconv=dir disable ICONV SUPPORT--WITH-IMAP=DIR include IMAP support. Specify C-client installation Directory--with-kerberos=dir imap: enable Kerberos support and specify its Directory--with-imap-ssl=dir imap: enable SSL support and specify the OpenSSL Directory--wit H-interbase=dir enable InterBase support and specify its directory--Enable-intl Open Internationalization support (internationalization)--with-icu-dir=dir specify where ICU libraries and headers can B E Found--disable-json off JSON support--with-ldap=dir open LDAP support--with-ldap-sasl=dir ldap: enable Cyrus SASL Support for--enable-mbstring Enable Multi-Byte string Support--disable-mbregex mbstring: Disabling support for multibyte regular expressions--disable-mbregex-backtrack MBS TRING: Disable multibyte regular expression backtracking--with-libmbfl=dir mbstring: use external LIBMBFL and develop its directory--with-onig=dir mbstring: use external onig and Directory--with-mcrypt=dir contains MCrypt Support--with-mssql=dir contains mssql-db support, and specifies FreeTDS software Catalog--with-mysql-sock=sockpath Locate the UNIX socket pointer for mysql. If not specified, search by default Location. --with-zlib-dir=dir MySQL: Set Zlib installation directory--with-mysqli=file contains mysqli Support. The location of the parameter is Mysql_config--enable-embedded-mysqli mysqli: enable embedded Support. --with-oci8=dir includes Oracle Support. If using an Oracle client installation, Use--with-oci8=instantclient,/path/to/oic/lib--with-odbcver=hex Force support for the passed ODBC ve Rsion. A hex number is expected, default 0x0300. Use the special value of 0 to prevent a explicit odbcver to be Defined. --with-adabas=dir include Adabas D support/usr/local--with-sapdb=dir include SAP DB support/usr/local-- With-solid=dir include solid Support/usr/local/solid--with-ibm-db2=dir include IBM DB2 support/home/db2ins T1/sqllib--with-odbcrouter=dir include odbcrouter.com Support/usr--with-empress=dir include Empress Support \$ Empresspath (Empress Version >= 8.60 required)--with-empress-bcs=dir Include Empress Local Access support \ $EMPRESSPATH (Empress Version >= 8.60 required)--wit H-birdstep=dir include birdstep support/usr/local/birdstep--with-custom-odbc=dir include user defined ODBC support . DIR is ODBC install base directory/usr/local. Make sure to define CUSTOM_ODBC_LIBS and has some odbc.h in your inClude dirs F.E. should define following for Sybase SQL Anywhere 5.5.00 on QNX, prior to Running this configure script:cppflags=\ "-dodbc_qnx-dsqlany_bug\" Ldflags=-lunix custom_odbc_libs=\ "-ldblib-lodbc\"--with-iodbc=dir Include iODBC Support/usr/local--with-esoob=dir include Easysoft OOB support/usr/local/easysoft/oob/client- -with-unixodbc=dir include UnixODBC Support/usr/local--with-dbmaker=dir include Dbmaker SUPPORT--ENABLE-OPCA Che enable Zend opcache support--enable-pcntl Enable pcntl support (cli/cgi only)--disable-pdo Disable PHP Data Objects support--with-pdo-dblib=dir pdo:dblib-db. DIR is the FreeTDS home directory--with-pdo-firebird=dir Pdo:firebird Support. DIR is the Firebird base install directory/opt/firebird--with-pdo-mysql=DIR Pdo:mysql Support. Dir is the MySQL base directory If No value or MYSQLND is passed as DIR, the MySQL native driver'll be used--with-zlib-dir=dir pdo_mysql:set the path to libz install prefix--with-pdo- Oci=dir pdo:oracle OCI Support. DIR defaults to \ $ORACLE _home. Use the--with-pdo-oci=instantclient,prefix,version for an Oracle Instant Client SDK. For example on Linux with 11.2 RPMs use:--with-pdo-oci=instantclient,/usr,11.2 With 10.2 RPMs Use:--with-pdo-oci=instantclient,/usr,10.2.0.4--with-pdo -odbc=flavour,dir pdo:support for ' flavour ' ODBC driver. Include and Lib Dirs is looked for under ' dir '. ' Flavour ' can be one of:ibm-db2, iodbc, unixODBC, generic If ', dir ' was omitted, default forThe flavour you have selected would be Used. E.G.:--WITH-PDO-ODBC=UNIXODBC would check for UnixODBC Under/usr/local. You could attempt to use an otherwise unsupported driver using the \ "generic\" Flavour. The syntax for generic ODBC support Is:--with-pdo-odbc=generic,dir,libname,ldflags,cflags Whe N built as ' shared ' the extension filename is always pdo_odbc.so--with-pdo-pgsql=dir pdo:postgresql support. DIR is the PostgreSQL base install directory or the path to Pg_config--without-pdo-sqlite=dir Pdo:sqlite 3 Support. DIR is the SQLite base install directory BUNDLED--with-pgsql=dir Include PostgreSQL supp Ort. DIR is the PostgreSQL base install directory or the path to Pg_config--disable-phar Di Sable Phar Support--disable-posix Disable posix-like functionS--with-pspell=dir Include Pspell Support. GNU Aspell version 0.50.0 or higher required--with-libedit=dir Include libedit readline replacement (cli/cgi Only) --with-readline=dir include ReadLine support (cli/cgi only)--with-recode=dir Include recode support--disabl E-session Disable Session Support--with-mm=dir session:include mm support for session storage--enable -shmop Enable shmop support--disable-simplexml disable SimpleXML support--with-libxml-dir=dir simplexml : libxml2 install prefix--with-snmp=dir Include SNMP support--with-openssl-dir=dir snmp:openssl Install pref Ix--enable-soap Enable soap Support--with-libxml-dir=dir SOAP:LIBXML2 install Prefix--enable-sockets Enable sockets Support--with-sybase-ct=dir Include sybase-ct Support. DIR is the Sybase home directory/home/sybase--enable-sysvmsg enable sysvmsgSupport--enable-sysvsem Enable System V Semaphore SUPPORT--ENABLE-SYSVSHM enable the System V shared mem Ory support--with-tidy=dir Include Tidy support--disable-tokenizer Disable Tokenizer support--enable-wdd X Enable wddx support--with-libxml-dir=dir wddx:libxml2 Install Prefix--with-libexpat-dir=dir Wddx:libex Pat dir for Xmlrpc-epi (deprecated)--disable-xml disable XML support--with-libxml-dir=dir XML:LIBXML2 ins Tall prefix--with-libexpat-dir=dir xml:libexpat Install prefix (deprecated)--disable-xmlreader disable XmlReader Support--with-libxml-dir=dir xmlreader:libxml2 Install Prefix--with-xmlrpc=dir Include Xmlrpc-epi support-- With-libxml-dir=dir xmlrpc-epi:libxml2 Install Prefix--with-libexpat-dir=dir xmlrpc-epi:libexpat dir for XMLRPC-EPI (deprecated)--with-iconv-dir=dir xmlrpc-epi:iconv dir for xmlrpc-epi--disable-xmlwriter disable XmlWriter supp Ort--with-libxml-dir=dIR xmlwriter:libxml2 install Prefix--with-xsl=dir Include xsl Support. DIR is the libxslt base install directory (libxslt >= 1.1.0 required)--enable-zip Include Zip read/write support--with-zlib-dir=dir zip:set The path to libz install Prefix--with-pcre-dir Zip:pcre Install Prefix--with-libzip=dir zip:use libzip--enable-mysqlnd enable Mysqlnd explicitly, wil L be do implicitly when required by other Extensions--disable-mysqlnd-compression-support Disable support for the MySQL compressed protocol in Mysqlnd--with-zlib-dir=dir Mysqlnd:set T He path to libz install prefix</code></pre> <ul> <ul> <li>Published on April 29, 2015</li> </ul> </ul><p><p>php5.6 Installation</p></p></span>

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.