I want to increase the maximum execution & input time for my PHP scripts. I added the following two lines to my .htaccess file located at the document root:
php_value max_execution_time 8000
php_value max_input_time 4000
It works perfectly well on my development server, but on the production server (GoDaddy) I'm getting a 500 internal server error. Why is it so?
Perhaps you should try putting the same code into a php5.ini file instead of a .htaccess file. Godaddy servers are usually setup to accept configuration settings from php5.ini file.
Make a text file with the filename as "php5.ini" and put the following in it:
max_execution_time 8000
max_input_time 4000
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With