Abstract:To upload files larger than 8 Mb, you must modify the php configuration to take effect. However, I found a bunch of configuration changes on the Internet, but the changes didn't take effect.
Solution:
Modify the php. ini option. There are many tutorials on the Internet and you can search for them at will.
1. log on to the nobody account with the root account.
2. Run the whereis php Command to check the location of php. ini and modify the php. ini file.
3. Restart apache to take effect.
The nobody account here is the account used by apache and has low permissions.
The main note here is that the configuration file you modified must be the configuration file used by nobody.
Generally, if the configuration has been modified but does not take effect, consider whether there are multiple configurations on the machine.
Appendix:
Php configuration parameters related to File Upload