Modify the PHP.ini problem resolution (upload files larger than 8M) _php tips
Source: Internet
Author: User
absrtact: uploading files larger than 8M requires modifying the PHP configuration before it can take effect. But I found a bunch of changes on the Internet, but I did not make the changes.
Workaround:
Modify php.ini This option, there are a lot of tutorials on the Web, you can easily search.
1, first use the root account, login to the nobody account.
2, and then use whereis PHP command to view, php.ini location, modify the php.ini file can be.
3, the last restart Apache, it can be effective.
The nobody account here is the account that Apache uses, the privilege is very low.
The main concern here is that the configuration file you modified must be the one used by nobody.
In general, the configuration is modified but not effective, you can consider whether there are multiple configurations on the machine.
Report: PHP configuration parameters related to file upload
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.