php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30101 Win2k3 IIS6 PHP-5.0.1 Don't Load php.ini
Submitted: 2004-09-16 04:01 UTC Modified: 2004-09-23 06:35 UTC
Votes:3
Avg. Score:4.0 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:3 (100.0%)
From: cdelasaux at att dot net Assigned:
Status: Closed Package: IIS related
PHP Version: 5.0.1 OS: 2k3 Standard Server
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cdelasaux at att dot net
New email:
PHP Version: OS:

 

 [2004-09-16 04:01 UTC] cdelasaux at att dot net
Description:
------------
Using a fresh install of everything (:
*Win 2K3 standard server with Active dir enabled and PDC
*IIS6 installed and running
*PHP 5.0.1 installed and some what running.
I following the install doc I did and repeated every thing several times (just in case I missed something).
I have php in c:\php and permisions to webusers, IIS, and users all set to +RX.
The PHPRC environment variable does not appear to work.
PHPRC = C:\php

php.ini has:
include_path = ".;c:\php\pear\"
 extension_dir = "c:\php\ext\"
 cgi.force_redirect = 0

phpinfo() shows:
extension_dir C:\php5 
include_path .;C:\php5\pear 

http://corman.servebeer.com/info.php 

I set the value in Registry HKEY_LOCAL_MACHINE\SOFTWARE\PHP\ 
New->String Value
IniFilePath = C:\php

and I removed the system var PHPRC and The php.ini file loaded.
phpinfo() shows:
extension_dir C:\php
include_path .;C:\php\pear

 So went went back to trying setting the PHPRC variable again and removed the registry entry. 
The php.ini would not load.

Cheers,
Cordel



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-16 05:41 UTC] cdelasaux at att dot net
Well going back to the working php turned out not to go so well. I reverted back to the configuration that had worked and I can't get the phpisapi.dll to load which in turn takes down IIS. I'll try again from scratch and see if I can replicate it one more time.
Cheers,
Cordel
 [2004-09-17 02:17 UTC] cdelasaux at att dot net
After attempting to switch back to the working configuration I was unable to get php5isapi.dll to load.
Under ISAPI Filters for all websites in the IIS manager would show Red Down arrow and say that it's not loaded.
 I reverted to php-4.3.8 and have it running no issues. 
I will try more on 5.0.1 later next week.
Cheers,
Cordel
 [2004-09-23 06:35 UTC] cdelasaux at att dot net
You MUST follow the manual selectively!!!
Setting the PHPRC in you system enviroment correctly and add in PATH your PHP directory. Then add in .php extension for the Web Sites  and in webservice extensions add the php5isapi.dll and set to allow. Edit your ini file and make sure you have cgi.force_redirect = 0
and your Extension path correct

Thats it... No more!!!
If you need you can add php5isapi.dll to the filters and you may also add activescript if you need them but are not required.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 08:01:29 2024 UTC