mdkgeurts
asked on
Can't set upload_max_file_size in php.ini
I have a problem setting the upload_max_file_size. I have changed php.ini. I set the upload_max_file_size to 25M in php.ini, saved it, restarted the webserver and I still can't upload files larger than 2M. When I look at a phpinfo() page it says that the upload_max_file_size is 2M. When I open php.ini the upload_max_file_size is correctly set at 25M. Help! Apache 2, Suse Linux, PHP 5.0.4
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
The config path pointed to a non-existing folder, I created the folder with the php.ini and it worked.
That was the same problem I had. :)
You can set the limit in the .htaccess file as well as in your php file (I believe).