-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

actually i thought you said your scripts were running in a remote host which you cant change php.ini
and assuming that, i said that most servers setup php in safe mode


i believe php.ini is the same for php as module and cgi-bin
dont know if that helps, but if safe-mode was default for cgi-bin, it would be for module too
safe mode being default or could depend on the distribution... all i got had php.ini-dist and php.ini-recommened, none had safe mode on


hope it helps



Chris wrote:
> I am aware of safe mode but, are you saying that when PHP is installed as a
> CGI binary safe mode is on by default?
> Chris
>
> "André cerqueira" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
http://www.php.net/set_time_limit

[snip]
 > Warning

 > set_time_limit() has NO EFFECT when PHP is running in safe mode. There
 > is NO workaround other than turning off safe mode or changing the time
 > limit in the php.ini.
[/snip]

most servers do that



Chris wrote:


I've run into situation where my PHP script, (which loads records into a
database) gets timed out after 30 seconds, terminating the script

execution.

I understand that PHP, on my hosting system, is installed as a CGI

binary.

I've even included set_time_limit which seems to have no effect. Is is
possible that the timeout is being caused by a cgi script execution

limit?

Or may something else be afoot?

Chris


- -- André Cerqueira
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iD8DBQFAPs0+axdA/5C8vH8RAqpeAJ4phC8gykyhYIvjwlazAPvvvq/zmwCfRHG2
8Y2dB0pnyUCn3EmUvzKCs/4=
=1H3c
-----END PGP SIGNATURE-----

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to