Several configuration changes during PHP deployment
1. What is short_open_tag?
Determine whether to allow the abbreviated form of the code start sign (<? ?> ). If you want to use PHP in combination with XML, you can disable this option for Embedded use. <? Xml?> . Otherwise, php can be used for output, for example: <? Php echo '<? Xml version = "1.0" ';?> . If disabled, you must use the complete form of the PHP code start flag (<? Php?> ).
Note: This command also affects the abbreviated form <? =, It matches <? Echo is equivalent. The short_open_tag value is On.
2. What is asp_tags?
Except for the common <? Php?> ASP-style flag is also allowed <%>. This also includes the abbreviation of the output variable value <% = $ value %>.
Generally, we set the asp_tags value to On.
Note: ASP style labels are newly added in version 3.0.4.
3. Set the php extension path extension_dir = "PHP decompression path \ ext", which is required when mysql is called.
For example, to deploy apche + mysql + php, remove the semicolon before the following dll to enable the function:
Extension = php_bz2.dll
Extension = php_gd2.dll
Extension = php_gettext.dll
Extension = php_mbstring.dll
Extension = php_mysql.dll
Extension = php_mysqli.dll
Extension = php_openssl.dll
Extension = php_pdo_mysql.dll
Extension = php_sockets.dll
Extension = php_xmlrpc.dll
4. Set China Time Zone date. timezone = prc
Date. timezone is a newly added configuration file parameter in PHP 5.1. The default value is date. timezone is commented out, that is, the default time zone is utc, and the time zone is changed to date. timezone = PRC, which can solve the problem of time difference of eight hours.
PHP 7.0.0 RC 5: download page, Windows source code and binary are provided in windows.php.net/qa /.
PHP 7 innovation and Performance Optimization
PHP 7, you deserve it
Experience PHP 7.0 on CentOS 7.x/Fedora 21
Install LNMP in CentOS 6.3 (PHP 5.4, MyySQL5.6)
Nginx startup failure occurs during LNMP deployment.
Ubuntu install Nginx php5-fpm MySQL (LNMP environment setup)
Detailed php hd scanning PDF + CD source code + full set of teaching videos
Configure the php lnmp development environment in CentOS 6
PHP details: click here
PHP: click here
This article permanently updates the link address: