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
terji
Forum Commoner
Posts: 37 Joined: Tue May 14, 2002 5:27 pm
Location: Denmark
Post
by terji » Fri Oct 22, 2004 4:05 am
I'm running a rather large script directly on php.exe and I get a timeout after a couple of minutes.
Code: Select all
Maximum execution time of 2500 seconds exceeded in ...
As you can see I've set the max execution time to a ridiculus high value but still after 2 minutes I get the error message...
The scripts execute from a scheduled task on a Windows 2000 server.
I stuck
m3mn0n
PHP Evangelist
Posts: 3548 Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada
Post
by m3mn0n » Fri Oct 22, 2004 4:38 am
You get that after 2 minutes? 2,500 seconds is around 42 minutes...
Does the script being run have [php_man]set_time_limit()[/php_man] or a similar function on it?
Weirdan
Moderator
Posts: 5978 Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine
Post
by Weirdan » Fri Oct 22, 2004 5:13 am
regarding the poll: BAMP
vigge89
Forum Regular
Posts: 875 Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden
Post
by vigge89 » Fri Oct 22, 2004 8:03 am
XAMPP
Weirdan
Moderator
Posts: 5978 Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine
Post
by Weirdan » Fri Oct 22, 2004 8:42 am
vigge89 wrote: XAMPP
Last P stands for Python, Perl_ or something P . . .?
vigge89
Forum Regular
Posts: 875 Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden
Post
by vigge89 » Fri Oct 22, 2004 9:37 am
terji
Forum Commoner
Posts: 37 Joined: Tue May 14, 2002 5:27 pm
Location: Denmark
Post
by terji » Fri Oct 22, 2004 9:44 am
Sami wrote: You get that after 2 minutes? 2,500 seconds is around 42 minutes...
Does the script being run have [php_man]set_time_limit()[/php_man] or a similar function on it?
No it doesn't... It's a simple "go-through-all-files-in-this-folder-and-modify-them" script
phpScott
DevNet Resident
Posts: 1206 Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.
Post
by phpScott » Fri Oct 22, 2004 10:37 am
xampp
Apache HTTPD 2.0.52, MySQL 4.0.21, PHP 5.0.2 + 4.3.9 + PEAR + Switch, MiniPerl 5.8.3, mod_ssl 2.0.51, Openssl 0.9.7d, PHPMyAdmin 2.6.0 pl1, Webalizer 2.01-10, Mercury Mail Transport System für Win32 und NetWare Systems v4.01a, FileZilla FTP Server 0.9.3, SQLite 2.8.15, ADODB 4.52, Zend Optimizer 2.5.3. For Windows 98, 2000, XP.
for those who really want to know
Weirdan
Moderator
Posts: 5978 Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine
Post
by Weirdan » Fri Oct 22, 2004 10:40 am
phpScott wrote:
for those who really want to know
I hope most of us do not need that link in my signature.
vigge89
Forum Regular
Posts: 875 Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden
Post
by vigge89 » Fri Oct 22, 2004 12:14 pm
Weirdan wrote: phpScott wrote:
for those who really want to know
I hope most of us do not need that link in my signature.
huh?
terji
Forum Commoner
Posts: 37 Joined: Tue May 14, 2002 5:27 pm
Location: Denmark
Post
by terji » Fri Oct 22, 2004 12:48 pm
vigge89 wrote: Weirdan wrote: phpScott wrote:
for those who really want to know
I hope most of us do not need that link in my signature.
huh?
My thoughts exactly
rehfeld
Forum Regular
Posts: 741 Joined: Mon Oct 18, 2004 8:14 pm
Post
by rehfeld » Fri Oct 22, 2004 1:21 pm
lol
Weirdan
Moderator
Posts: 5978 Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine
Post
by Weirdan » Sat Oct 23, 2004 3:21 pm
vigge89 wrote:
huh?
That sounded like an implication that I was too lazy to use Google.
Whatever it was, I'm not going to start any flamewar here; enough of that.