Open Source Tutorials - Open Source Training
Open source training & tutorials from experienced, passionate people
chrome icon firefox icon ie icon opera icon safari icon Sings in these Browsers
A- A A+

By A Web Design

Welcome, Guest
Username Password: Remember me

Maximum execution time exceeded
(1 viewing) (1) Guest
All your queries regarding
PHP Installation,
Binding Apache-PHP-MySQL,
and tonnes more... will be solved in this forum
  • Page:
  • 1
TOPIC:

Maximum execution time exceeded

Maximum execution time exceeded 1 year, 2 months ago #538

  • isaac
  • OFFLINE
  • Senior Boarder
  • Posts: 64
  • Karma: 0
I get a PHP error - maximum execution time exceeded. What does this mean?

Re: Maximum execution time exceeded 1 year, 2 months ago #543

  • yoko
This error tells you exactly what has happened. Basically the script has taken longer to execute than the execution time in place for the server.

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.
Last Edit: 1 year, 2 months ago by .
  • Page:
  • 1
Time to create page: 1.49 seconds
OSV Newsletter


Receive HTML?

NOTE: To prevent subscription to the OSV newsletter, uncheck the checkbox above.
Guest Blog for OSV
Free Ebook Download