[Ilugc] How to increase maximum execution time in php

  • From: suraj@xxxxxxxxxxxxxx (Suraj Kumar)
  • Date: Tue, 23 Jul 2002 10:55:59 +0530

Bhuvan A wrote on Tue, Jul 23, 2002 at 10:24:10AM +0530: 
bhuvan> Try restart httpd in your machine and try. Since apache reads the php
bhuvan> configuration file (/etc/php.ini) during the initial startup, it has to 
be
bhuvan> restarted for any change to take effect.

Sathyan had a problem with the PHP interpreter (/usr/bin/php) and its
got nothing to do with apache. whenever the php interpreter is called it
reads the config file, so any changes you make will be in effect the
next time you run the interpreter.

The max execution time might just not be set. You can try setting the
max execution time using the runtime call set_time_limit(). See to it
that your configuration file is _really_ read by looking at the phpinfo.
This you can do by typing:

$ php -i | lynx -stdin -dump | grep php.ini
          Configuration File (php.ini) Path /etc/php4/cgi/php.ini
$

  -Suraj
-- 
+----------------------------------------------<suraj@xxxxxxxxxxxxxx>--+
| Banish from the mind,thoughts that degrade; depart                   |
| from friendship that deserts while drowning                          |
| (probing for friendship - 8), Thirukkural                            |
+--<http://www.symonds.net/~suraj/>------------------------------------+

Other related posts: