Re: [PHP] How to know the path of `php.ini` used when call php.exe from CLI/command-line in Windows 7

2011-10-12 Thread Richard Quadling
On 11 October 2011 19:40, Nam Gi VU nam.gi...@gmail.com wrote:
 Hi every one,
 Currently when I call php --ini from CLI, I just see C:\Windows but search
 for this location, I cannot find any php.ini files.
 I'm stuck there - where is the php.ini file used by php.exe called from CLI
 as below

 *C: php --ini*

The following documentation links are all relevant.

http://docs.php.net/manual/en/install.windows.manual.php
http://docs.php.net/manual/en/install.windows.commandline.php
http://docs.php.net/manual/en/configuration.file.php

-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

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



[PHP] How to know the path of `php.ini` used when call php.exe from CLI/command-line in Windows 7

2011-10-11 Thread Nam Gi VU
Hi every one,
Currently when I call php --ini from CLI, I just see C:\Windows but search
for this location, I cannot find any php.ini files.
I'm stuck there - where is the php.ini file used by php.exe called from CLI
as below

*C: php --ini*

Hope to hear from you!
Regards,
Nam


Re: [PHP] How to know the path of `php.ini` used when call php.exe from CLI/command-line in Windows 7

2011-10-11 Thread Daniel Brown
On Tue, Oct 11, 2011 at 14:40, Nam Gi VU nam.gi...@gmail.com wrote:
 Hi every one,
 Currently when I call php --ini from CLI, I just see C:\Windows but search
 for this location, I cannot find any php.ini files.
 I'm stuck there - where is the php.ini file used by php.exe called from CLI
 as below

 *C: php --ini*

If there's no php.ini file in the path it's checking, it'll just
use the internal defaults.  You may not have a php.ini file anywhere
on your system, which is okay if you don't need to do any tuning.

-- 
/Daniel P. Brown
Network Infrastructure Manager
http://www.php.net/

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