Menu

#3 Fatal error: Maximum execution time of 30 seconds exceeded..

open
nobody
None
5
2005-01-11
2005-01-11
Anonymous
No

Fatal error: Maximum execution time of 30 seconds
exceeded in /home/
[...edited...]/public_html/PHProxy.class.php on line 117

index.php does load as it should. But I cannot browse
any site. I always get this error message.
I ran a dedicated Apache server with PHP Version: 4.2.2
Register Globals: On
Display Errors: On
Error Level: Not E_ALL

safe_mode = Off

max_execution_time = 30 ; Maximum execution time
of each script, in seconds
memory_limit = 32M ; Maximum amount of memory a
script may consume (8MB)

Discussion

  • Nobody/Anonymous

    Logged In: NO

    sexocean.com

     
  • Nobody/Anonymous

    Logged In: NO

    This is simply due to the fact that it took longer than 30
    seconds for the proxy to download and serve you the file. It
    could also be because PHProxy could not reach the other
    server in a timely manner.

    You can fix this by increasing the 'max_execution_time'
    setting in your php.ini / php.conf file, and if neccissary
    increasing the respective variable in Apache's configuration
    files.

     
  • Nobody/Anonymous

    Logged In: NO

    set_time_limit(120);

    Add that command to the script so it won't time out at 30 seconds anymore.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.