Re: Php.exe doesn't read php.ini (Php4)

From: Date: Mon, 26 Jun 2000 16:08:06 +0000
Subject: Re: Php.exe doesn't read php.ini (Php4)
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-659@lists.php.net to get a copy of this message
I believe that your PHP.ini file is supposed to sit in C:\winnt and then there are two other dll's that sit in either system32 or winnt (all these steps are in the docs). Try that. Chris "Eduardo Jordan G." wrote: > Hello, > > This is my configuration: > > Windows NT 4.0 + SP 5 + IIS 4.0 + Php 4 (cgi mode) > php 4 resides in directory d:\php4, all files included ini and dll's > Path env. variable is set to > PATH = ...;d:\php4 > > THE problem > > I have a php file with this line <? phpinfo(); ?>. When I > load the file the resulting page shows get doc_root = > "no value", local and master value. > My question is how to get php.exe to read my php.ini file. > One thing to notice is that same file executed from command > line (php -f info.php > info.html) shows doc_root = "d:\phpdocs", > local and master value, which is correct. > > Any idea??? > > Eduardo Jordán G. > ejordan@accessinter.net > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#659) next »