Chaitanya Lakshmi
  • About Me
  • Job Duties
  • Knowledge Blog
  • Applications
  • Contact Us
    • Linked In
    • Facebook
  • About Me
  • Job Duties
  • Knowledge Blog
  • Applications
  • Contact Us
    • Linked In
    • Facebook

I get a PHP error - maximum execution time exceeded. What is this?

4/10/2012

0 Comments

 
This error again 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.
0 Comments



Leave a Reply.

    Archives

    April 2012
    March 2012
    February 2012

    Categor

    All
    Ajax
    Api
    Cross Site Scripting
    Css
    Curl
    Design Patterns
    Drupal
    Exception Handling
    Htaccess
    Html
    Javascript
    Jquery
    Json
    Linux
    Mysql
    Oops
    Php
    Regular Expressions
    Web 2.0
    Webservices
    Wordpress
    Xhtml

    RSS Feed

Powered by Create your own unique website with customizable templates.