Re: php --ini and the like
| From: | Nathan Nobbe | Date: | Thu, 28 Feb 2008 15:44:47 +0000 |
| Subject: | Re: php --ini and the like | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-270578@lists.php.net to get a copy of this message | ||
On Thu, Feb 28, 2008 at 6:08 AM, Jochem Maas <jochem@iamjochem.com> wrote:
> was just cruising the manual and came accross a nice tidbit.
>
> from: http://nl.php.net/features.commandline
>
> Shows configuration file names and scanned directories. Available as of
> PHP 5.2.3.
>
> Example#3 --ini example
>
> $ php --ini
> Configuration File (php.ini) Path: /usr/dev/php/5.2/lib
> Loaded Configuration File: /usr/dev/php/5.2/lib/php.ini
> Scan for additional .ini files in: (none)
> Additional .ini files parsed: (none)
>
this is really nice, because i often alias local configuration files for per
user modifications of php.ini on the cli. similar to the .htaccess feature
for the webserver php.ini files. but sometimes i forget if i have the file
aliased or not.. this provides a very convenient way to check.
thanks ;)
-nathan