Php. ini, how to restore the default value after another period of time
Source: Internet
Author: User
Php. ini is configured to restore the default environment after a period of time: wampserver recently encountered a very strange problem in php. after the following values are redefined by ini, upload_max_filesize = 256Mpost_max_sizemax_executio php. the default value of ini is restored after another period of time.
Environment: wampserver
Recently, I encountered a strange problem.
After I redefine these values in php. ini
Upload_max_filesize = 256 M
Post_max_size
Max_execution_time
Max_input_time
Memory_limit
After two days, all configurations will be restored to the default value, for example, upload_max_filesize = 2 M...
Does anyone know why?
------ Solution --------------------
Discussion
Besides, if I had an outfit, I would have known it.
------ Solution --------------------
Search all php. INI files. There may be more than one. One of them is copied from the other. I remember this.
We recommend that you modify both or change the suite.
------ Solution --------------------
This is definitely not the configuration file you saw for the first time. it was changed or changed...
------ Solution --------------------
Enable phpinfo. php to check whether the php. ini file is in the directory you see, or if you have multiple php. INI files.
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.