Re: php --ini and the like

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

 



On Thu, Feb 28, 2008 at 6:08 AM, Jochem Maas <jochem@xxxxxxxxxxxxx> 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

[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