Pergunta

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

Foi útil?

Solução

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

Outras dicas

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top