Several configuration modification instructions for PHP deployment _php Tutorial

Source: Internet
Author: User

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 ...

  • 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.