Several configuration modification instructions for PHP deployment
1. What is Short_open_tag? Determines whether to allow the use of abbreviations for code start flags ( )。 If you want to use PHP in conjunction with XML, you can disable this option to make it easier to embed 。 Otherwise, it can be output via PHP, for example: 。 If disabled, you must use the full form of the PHP Code start flag ( )。 Note: This directive also affects the abbreviation form The logo <%%> is also allowed using 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: The support for ASP style flags is new in version 3.0.4. 3. Set PHP extension path extension_dir= "PHP decompression path \ext", need to call MySQL. When deploying apche+mysql+php, it is often necessary to remove the semicolon before the following DLLs, so that their functions are turned on: extension=php_bz2.dllextension=php_gd2.dllextension=php_ Gettext.dllextension=php_mbstring.dllextension=php_mysql.dllextension=php_mysqli.dllextension=php_ Openssl.dllextension=php_pdo_mysql.dllextension=php_sockets.dllextension=php_xmlrpc.dll 4, set china time zone Date.timezone = The PRC Date.timezone is the newly added profile parameter in PHP 5.1, the default date.timezone is commented out, the default time zone is UTC, and the time zone is Date.timezone = PRC, which resolves the issue of eight hours of time difference.
http://www.bkjia.com/PHPjc/1061540.html www.bkjia.com true http://www.bkjia.com/PHPjc/1061540.html techarticle Several configuration modification instructions for PHP deployment 1. What is Short_open_tag? Determines whether to allow the use of abbreviations (??) of code start flags. )。 If you want to use PHP in conjunction with XML, you can ...