I get a PHP error - maximum execution time exceeded. What is this?
Now, if nothing major is going on in your script then it could be you have something like an infinite loop - check carefully. If you expect the script to take a long time to run, but want it to do so, then you will need to up the time on the server.
If you want to set to infinite time, you can add a line at the top of the script:
set_time_limit(0);
Note that depending on settings you may need to do this in your php.ini file if you have access to it.
Comment on this Question and Answer >>>
ASK A QUESTION
More errors PHP Questions
I have 2 forms in one website... What do I name the php files for each form? The first php file is named: send_form_email.php, what do I name the second, or do they both go in the same php file?Parse error in PHP - unexpected T_variable at line x. What is this error?
I get the error message headers already sent, what does this mean?
I get this error every time I execute a php program. PHP Warning: Module 'gd' already loaded in Unknown on line 0 PHP Warning: Module 'mysql' already loaded in Unknown on line 0
I get a parse error - unexpected ; at line x message. What is this?
