Abstract: uploading files larger than 8M requires the configuration of PHP to be modified to take effect. But I found a lot of information on the Internet to modify the configuration, but I did not take effect after the modification.
Workaround:
Modify php.ini This option, there are a lot of tutorials on the Web, you can search casually.
1, first use the root account, login to the nobody account.
2, then use whereis PHP command to view, php.ini location, modify the php.ini file on it.
3, the final restart Apache, it will be effective.
The nobody account here is Apache's account, with very low authority.
The main concern here is that the configuration file you are modifying must be a configuration file that is 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 uploads
http://www.bkjia.com/PHPjc/327619.html www.bkjia.com true http://www.bkjia.com/PHPjc/327619.html techarticle Abstract: Uploading files larger than 8M requires the configuration of PHP to be modified to take effect. But I found a lot of information on the Internet to modify the configuration, but I did not take effect after the modification. Solution Side ...