An in-depth understanding of ini configuration in PHP this article will not detail the purpose of an ini configuration item, which has been explained in the manual. I just want to explore the implementation mechanism of php from a specific point of
Why should I copy a copy of php after installing php. ini to usrlocalphplibphp. ini I tried it. If you do not copy a copy of php, it will work normally. Why do you need to copy a copy of php from the installation package. ini to usrlocalphplibphp.
This article does not describe the purpose of an INI configuration item in detail, as explained in the manual. I just want to dig into PHP's implementation mechanism from a specific point of view, which involves some knowledge of the PHP kernel:-)
The Phpini file is a configuration file of php. on a windows host, if you haven't modified the configuration file, the phpini file must be in the same directory as your php installation file, but it seems different in linux.
Php. the INI file is a
Php. the INI file is a configuration file of php. If you have not modified the configuration file of php on a windows host. the INI file must be in the same directory as your php installation directory, but it seems to be different in linux. Next I
We will introduce you to php. how to configure the php file upload function in the INI file involves some important options and restrictions on the size of php files to be uploaded, for more information about PHP website development, see yesterday.
In linuxThe most likely location is the/etc directory or the/usr/local/lib directory.If you still cannot find the location, use the ultimate solution:Create a php file and write the following code Save the file, visit the page in the browser, and
The php enabling and disabling error message is applicable to the failure to modify php. ini. the error message is "php. ini. Php enabling and disabling error prompt is applicable to php not modified. ini permission, error prompt php. iniwindows
Php enable and Disable Error prompt is applicable to php. ini modification permissions, error prompt php. ini
Windows system switch php error prompt
If you do not have the permission to modify php. ini, you can add the following code to the php file:
PHPSession configuration (php. ini) Description Tutorial. In PHP, we can directly set the Session configuration in php. ini. below I will introduce you to some reference instructions for specific session configuration in php. ini. Php. session
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.