Magic_quote_gpc function on in php. ini. After magic_quote_gpcon is enabled, the addslshes () and stripslashes () functions can be implemented. In PHP4.0 and later versions, this option is enabled by default. Therefore, after magic_quote_gpc = on is
Example of modifying the php. ini configuration file
@ Ini_set ('memory _ limit ', '64m');/* Maximum memory size occupied by the script */
@ Ini_set ('max _ execution_time ', '15');/* maximum script execution time */
IIS + PHP + MySQL environment, PHP. INI to modify the source address: http://hi.baidu.com/zhixianliu/blog/item/dbfc63f5efbdfd2cbd310946.html
Output_buffering = On
If the default 4096 is used, the PHP performance in IIS6 will be very bad.
After compiling nginx and php, prepare to load the memcache and mongodb extensions. After compiling the extensions, everything is fine. so and mongo. so, php. ini is also configured, but phpinfo cannot find these two extensions. It is useless to
PHPExcel export table errors should be caused by php. ini problems. you can export them locally. the server prompts these errors. Which of the following experts can help you solve them! Fatal error: Uncaught exception 'exception' with message 'could
Php. in ini, the time zone setting is not successful. the current time is used when the project is written. The time stamp obtained by time () is converted by the date () function and the time difference is 6 hours, modify php. the INI file is as
Php. ini configuration and CMS program efficiency optimization configuration. Developers who have done CMS know that background login and file upload in the LAMP environment are prone to problems, mostly due to PHP configuration problems, developers
Php for php-5.2. ini Chinese version (2); [updated on January 3,]; ========================================================== =================================== ;; ============================================ configuration command details for php
Php. in fact, it is an exaggeration to describe how to set a full strategy for ini. we only discuss several configurations that will affect our general development, if you have other questions, let the server administrator do it. we are not a
So when I saw this article, I just learned that there was a DBA function that could be used, well, a look at the installtion of the DBA, and found that supporting Inifile was also starting from PHP5. Well, the corresponding DBA-related can look here:
PHP. ini Security Configuration detection tool pcc brief introduction, php. inipcc
Overview
Some time ago, I encountered an open-source program in my work. This program is mainly used to check the security risks of configuration items in the PHP
Author: zccst
1. Time Zone Problems
Warning: phpinfo () [function. phpinfo]: it is not safe to rely on the system's timezone settings. you are * required * to use the date. timezone setting or the date_default_timezone_set () function. in case
In PHP. ini
Parameters Involved in file upload in PHPPHP's default upload limit is 2 MB. to upload files that exceed this setting, you need to adjust some parameters such as PHP and Apache. next, we will briefly introduce some parameters involved
Recently, we encountered the problem of using phpadmin for Database Import when the database is too large. The new version of phpadmin is limited to 8 MB, and the old version may be 2 MB, my database has dozens of megabytes. What should I do?
Php output_bufferingBy default, php buffer is enabled, and the default value of this buffer is 4096, that is, 4 KB. You can use. in the ini configuration file, find output_buffering configuration. when echo, print, and other user data are output,
Php. INI: File Upload feature configuration
Reprinted from: http://www.leapsoul.cn/?p=488
Attention:
If you are Apache Server, you should configure the php.ini file in the Apache folder
The php file upload feature configuration mainly involves
How to Debug php programs? Gedit + Mozilla Firefox
Use the above Notepad + browser for debugging.
If a part of the php program fails, the results of the entire program may not be displayed in the browser.
In this way, it is difficult to
This question has been tried by Baidu. google has failed to find a satisfactory answer many times. After installing php, print phpinfo () and a "LoadedConfigurationFile" option will be displayed. This option is used to load php. INI file, php. some
Commonly used MySQL load_file path in Linux: bitsCN.com
/Etc/passwd 0x2F6574632F706173737764/Etc/shadow 0x2f6574632f742561646f77/Etc/issue 0x2F6574632F6973737565/Etc/fstab 0x2F6574632F6673746162/Etc/host. conf 0x2F6574632F686F73742E636F6E66/Etc/motd
Error message: mcrypt Extensions cannot be loaded. (1) Replace extensionphp_mcrypt.dll with extensionphp_mcrypt.dll to remove the previous one. [root @
Error message: mcrypt Extensions cannot be loaded. (1) extension = php_mcrypt.dll is changed to
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.