[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Maximum execution time exceeded in
- Subject: RE: [cobalt-users] Maximum execution time exceeded in
- From: "Andy Brown" <andy.brown@xxxxxxxxxxxxx>
- Date: Mon Apr 1 18:04:02 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> how to change the time of execution for a script on a raq3i?
>
> Thanks
>
> FIOLLE Frederic
Hi,
I presume you are referring to a PHP script ? If so, then locate the
php.ini file,
On a Qube3 its /etc/httpd/php.ini
On a Raq3i (with php installed manually) mine is at
/usr/local/lib/php.ini
Open it and look for:
max_execution_time = 300 ; Maximum execution time of each script, in
seconds (UNIX only)
Change as required and restart the web server (/etc/rc.d/init.d/httpd
restart)
HOWEVER, I'd be looking more closely at the script itself and trying to
work out why its taking longer than 300 seconds to execute. If it takes
longer, you should maybe look at calling a background job to handle the
process or whatever its doing.
Regards,
Andy
andy@xxxxxxxxxxxxxxxxxxxxx
http://ineedlinux.info/