How do I change upload_max_filesize and max_execution_time in php.ini?
سؤال
I am trying to change my upload_max_filesize and max_execution_time in my php.ini
I've tried
upload_max_filesize = 80M
max_execution_time = 300
and
ini_set('max_execution_time', '45')
ini_set('upload_max_filesize', '80M')
I ran phpinfo and none of them changed...what gives?
thanks, J
المحلول
Remember to restart the server before you check the phpinfo()
نصائح أخرى
You dont need to restart the computer/server after making a php change such as this. You could make the changes directly to the php.ini and not reboot.
You'll likely need to have your provider allow this, or set it in an .htaccess file.
لا تنتمي إلى StackOverflow