The following is the deployment of PHP 4 configuration change instructions, one for each study.
1, Short_open_tag is what it is.
Determines whether to allow use of the abbreviated form of the Code start flag (?>).
If you want to use PHP in conjunction with XML, you can disable this option to make it easy to embed using <?xml?>. Otherwise, you can output it through PHP,
For example: <?php echo ' <?xml version= ' 1.0 '?>.
If disabled, you must use the full form of the PHP Code start flag (<?php?>).
Note: This directive will also affect the abbreviated form <?=, it and echo equivalence. Using this abbreviation requires the Short_open_tag value to be on.
2, Asp_tags is what.
In addition to the usual <?php?> flags, it is permissible to use the ASP-style logo <%%>. This also includes an abbreviation for the output variable value <%= $value%>.
In general, we will set the value of Asp_tags to ON.
Note: ASP Style logo support is 3.0.4 version of the new addition.
3. Set PHP extension path extension_dir= "PHP decompression path \ext", call MySQL need to use.
When deploying apche+mysql+php, it is usually necessary to remove the semicolon before the following several DLLs to enable it to function:
<span style= "FONT-SIZE:18PX;" >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 </span>
4. Set China time zone Date.timezone = PRC
Date.timezone is the newly added profile parameter in PHP 5.1, the default date.timezone is commented out, is the default time zone is UTC, change time zone to Date.timezone = PRC, can solve the time difference of eight hours of problem.
The above is the entire content of this article, I hope you remember this important four points, the future deployment of PHP will certainly come in handy.