Good idea. This is useful. Thanks. :)
Regards
Mike Robinson
> -Original Message-
> From: Marcus Börger [mailto:marcus.boerger@;t-online.de]
> Sent: Tuesday, November 12, 2002 4:05 PM
> To: Wez Furlong
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-DEV] [RFC] php-cli
Implemented:
[marcus@zaphod php4-HEAD]$ php -r
'var_dump(get_cfg_var("cfg_file_path"));var_dump(php_ini_scanned_files());'
string(20) "/home/marcus/php.ini"
bool(false)
[marcus@zaphod php4-HEAD]$ php -n -r
'var_dump(get_cfg_var("cfg_file_path"));var_dump(php_ini_scanned_files());'
bool(false)
b
On Mon, 11 Nov 2002, Wez Furlong wrote:
> What are your opinions for having some option to prevent the
> loading/parsing of php.ini for the CLI version of PHP?
>
> -n "No Ini File" - skips parsing php.ini on startup
>
> At the moment, I'm using "-c DOESNOTEXIST" to achieve the same re
What are your opinions for having some option to prevent the
loading/parsing of php.ini for the CLI version of PHP?
-n "No Ini File" - skips parsing php.ini on startup
At the moment, I'm using "-c DOESNOTEXIST" to achieve the same result,
but this is a bit hacky.
--Wez.
--
PHP Deve