php-developer-list | 2000111
Date: 11/14/00
- Next message: ti.gmastrantonio <email protected>: "[PHP-DEV] PHP 4.0 Bug #7811: connection failure"
- Previous message: bram <email protected>: "[PHP-DEV] PHP 4.0 Bug #7810: Wrong array-index interpretation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 7666
User Update by: christoph.steinmann <email protected>
Status: Open
Bug Type: *Configuration Issues
Description: PHP4 doesn't read php.ini with NT4/IIS
I now found the way to get it work (CGI-version):
The php.ini is only parsed, when php4ts.dll resides in %windir%/system32 AND php.ini in %windir%.
When I add the php directory to the PATH, php works with all files there, but the ini-File will not get parsed, neither in the php directory nor in %windir%. I also tried to set PHPRC accordingly, but it didn't work.
I think there must be a bug in the application when it tries to find php.ini. Perhaps one could change the windows install instructions (php4ts.dll MUST be copied to system32 not only to somewhere in the PATH)
I can't do it myself because I'm still not good enough... sorry.
Thank you
Christoph
Previous Comments:
---------------------------------------------------------------------------
[2000-11-06 19:05:18] christoph.steinmann <email protected>
Hi
I can't get PHP4 to parse the php.ini file on two NT4/IIS-systems, one with CGI, one with ISAPI.
I tried with php.ini in %windir% and in the php directory, but when calling phpinfo() I always get the default values.
There are no duplicate php.ini files on both systems. I always stopped and restarted IIS on the command line when I've tried another configuration. I also tried to set the PHPRC environment variable to the correct path.
I wonder why phpinfo() says
Configuration File (php.ini) Path : php.ini
instead of c:winntphp.ini?
On my local system with NT/Apache everything works perfectly.
When scanning the web I found lots of messages describing a similar problem. None of the answers suited my problem. I'm neither a PHP pro nor a beginner.
Thanks in advance for an answer.
Christoph
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7666
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: ti.gmastrantonio <email protected>: "[PHP-DEV] PHP 4.0 Bug #7811: connection failure"
- Previous message: bram <email protected>: "[PHP-DEV] PHP 4.0 Bug #7810: Wrong array-index interpretation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

