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

From: Date: Tue, 11 Oct 2011 18:46:24 +0000
Subject: Re: How to know the path of `php.ini` used when call php.exe from CLI/command-line in Windows 7
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-315244@lists.php.net to get a copy of this message
On Tue, Oct 11, 2011 at 14:40, Nam Gi VU <nam.gi.vu@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/

« previous php.general (#315244) next »