Domanda

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

È stato utile?

Soluzione

Remember to restart the server before you check the phpinfo()

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top