Home > Backend Development > PHP Tutorial > Several configuration modification instructions during PHP deployment_PHP tutorial

Several configuration modification instructions during PHP deployment_PHP tutorial

WBOY
Release: 2016-07-12 09:07:20
Original
883 people have browsed it

Several configuration modification instructions during PHP deployment

1. What is short_open_tag?
Determines whether the abbreviated form of the code start mark ( ) is allowed. If you are using PHP with XML, you can disable this option to facilitate embedded use of . Otherwise, you can also output it through php, for example: . If disabled, the full form of the PHP code start flag ( ) must be used.
Note: This directive also affects the abbreviated form
2. What is asp_tags?
Allows the use of the ASP-style flag <% %> in addition to the usual flag. This also includes the output variable value abbreviation <%= $value %>.
Normally we will set the value of asp_tags to On.
Note: ASP style flag support is new in version 3.0.4.
3. Set the php extension path extension_dir="PHP decompression path ext", which is needed when calling mysql.
When deploying apche mysql php, you usually need to remove the semicolons in front of the following dlls to enable their functions:
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 date.timezone is commented out, that is, the default time zone is utc. Changing the time zone to date.timezone = PRC can solve the problem of eight hours difference in time. question.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1061540.htmlTechArticle Several configuration modification instructions during PHP deployment 1. What is short_open_tag? Determines whether the abbreviated form of the code start flag (? ?) is allowed. If you want to use PHP with XML, you can...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template