Apache Timeout

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
chvol
Forum Newbie
Posts: 20
Joined: Fri Apr 26, 2002 2:49 pm

Apache Timeout

Post by chvol »

Time-out error under Apache webserver

I downloaded PHPTriad to my Windows 98 PC at home and SNOOPY PHP class from http://www.hotscripts.com/PHP/Scripts_a ... b_Fetching. Using function fetchtext (that I must call repeatedly) in my PHP program I get a time-out error: Fatal error: Maximum execution time of 30 seconds exceeded in C:apachehtdocsSnoopy.class.inc on line 748. Exactly how do I fix this? Note the following lines from various files:

HTTPD Timeout 300
HTTPD KeepAliveTimeout 60
SNOOPY.CLASS var $_fp_timeout = 3600;

Thanks,

Charlie
User avatar
EvilWalrus
Site Admin
Posts: 209
Joined: Thu Apr 18, 2002 3:21 pm
Location: Springmont, PA USA

Post by EvilWalrus »

wrong forum to post it, use main thread
User avatar
sam
Forum Contributor
Posts: 217
Joined: Thu Apr 18, 2002 11:11 pm
Location: Northern California
Contact:

Post by sam »

In your php inifile edit the following line:

Code: Select all

max_execution_time = x ;x is the timeout period...
[EDIT: I'm a moron and didn't understand what you meant andrew.... I repeat I am a tard 8O ]

Cheers Moe
Post Reply