In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article focuses on "how to modify the configuration when deploying PHP". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to modify the configuration when deploying PHP.
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 disable this option to facilitate embedding. Otherwise, you can also output through php, for example:.
If disabled, you must use the full form of the PHP code start flag ().
Note: this directive also affects the use of ASP-style flags in addition to the abbreviated form flags. This also includes an abbreviation for the value of the output variable.
Normally, we will set the value of asp_tags to On.
Note: support for ASP style logos is new to version 3.0.4.
3. Set the php extension path extension_dir= "PHP decompression path\ ext", which is required when calling mysql.
For example, when deploying apche+mysql+php, you usually need to remove the following semicolons before dll to enable its function:
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 = prc
Date.timezone is a new profile parameter added in PHP 5.1.The default 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.
At this point, I believe you have a deeper understanding of "how to modify the configuration when deploying PHP". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.