I wanted to upload files greater than 2MB and I have changed php.ini
as follows :
upload_max_filesize=20M
post_max_size=30M
Restarting Apache updates phpinfo()
but files greater than 2MB are not yet being uploaded. What could be the reason?
I wanted to upload files greater than 2MB and I have changed php.ini
as follows :
upload_max_filesize=20M
post_max_size=30M
Restarting Apache updates phpinfo()
but files greater than 2MB are not yet being uploaded. What could be the reason?
Check that you updated the right php.ini, some servers accept having a php.ini for a certain folder
A similar question: Photo upload not uploading files bigger than 2MB
Basically you have to modify your php server's configuration as the link shows to you