Fatal Error - Maximum Execution Time Limit

Discussion in 'Programming' started by bvfrezz, Sep 13, 2009.

  1. #1
    Hi guys,

    I am having some serious issues with loading data from a site's mysql database. Users can view reports on the web, and some receive the following error when trying to load a report.

    Fatal error: Maximum execution time of 30 seconds exceeded

    The accounts receiving this error probably have more data attached to their account than the others, so is there a way to either speed up load times when retrieving data or increase the maximum load time?

    Thanks in advance for your help. Any suggestions are appreciated.
     
    bvfrezz, Sep 13, 2009 IP
  2. rldowling03

    rldowling03 Notable Member

    Messages:
    1,763
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    200
    #2
    you can increase maximum execution time from your php.ini file or with the following php code

    ini_set("max_execution_time", 60); // Sets Maximum Execution Time to 60 Seconds 
    PHP:
     
    rldowling03, Sep 13, 2009 IP