Page 1 of 1
PHP CLI Timeout
Posted: Fri Oct 22, 2004 4:05 am
by terji
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

Posted: Fri Oct 22, 2004 4:38 am
by m3mn0n
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?
Posted: Fri Oct 22, 2004 5:13 am
by Weirdan
regarding the poll: BAMP

Posted: Fri Oct 22, 2004 8:03 am
by vigge89
XAMPP

Posted: Fri Oct 22, 2004 8:42 am
by Weirdan
vigge89 wrote:XAMPP

Last P stands for Python, Perl_ or something P . . .?

Posted: Fri Oct 22, 2004 9:37 am
by vigge89
Posted: Fri Oct 22, 2004 9:44 am
by terji
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

Posted: Fri Oct 22, 2004 10:37 am
by phpScott
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
Posted: Fri Oct 22, 2004 10:40 am
by Weirdan
phpScott wrote:
for those who really want to know
I hope most of us do not need that link in my signature.

Posted: Fri Oct 22, 2004 12:14 pm
by vigge89
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?

Posted: Fri Oct 22, 2004 12:48 pm
by terji
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

Posted: Fri Oct 22, 2004 1:21 pm
by rehfeld
lol
Posted: Sat Oct 23, 2004 3:21 pm
by Weirdan
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.