Re: sockets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all,

> On Tue, 2005-07-12 at 16:49 +0200, daro wrote:
> Also remember to set_time_limit(0) ;)

PHP ENTER CONFUSION

The *CLI* version of php has no max execution time by default (0)

- Where's the php CLI version in php4?
[PHP_HOME]/cli/php.exe and it reads a php.ini if it was in the SAME
directory or as specified using -c [DIRECTORY]   (but apparently
ignoring the max_execution_time value even it was specified in
php.ini)

- Oh and what's the $PHP_HOME/php.exe in a typical php4 distribution?
it's the CGI executable (according to the accompanying READMEEEE) 

- And what's the CLI one in php5?
[PHP_HOME]/php.exe and it reads php-cli.ini!! (note that this was the
CGI one in php4)

- Oh la la and where's CGI one in php5?
[PHP_HOME]/php-cgi.exe

Can i ini_set() the value of max_execution_time during runtime when
using the cli versions?
YES!!

I've done some personal experimentation to confirm all the above.
Tested with PHP/4.3.9 and PHP/5.0.2

-ahmed

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux