Edit report at http://bugs.php.net/bug.php?id=37919&edit=1

 ID:                 37919
 Comment by:         phdfromic at yahoo dot com
 Reported by:        rafael dot amador at gmail dot com
 Summary:            PHP doesn't read the configurations propertly
 Status:             Bogus
 Type:               Bug
 Package:            IIS related
 Operating System:   Windows XP Pro SP2
 PHP Version:        5.2.3
 Block user comment: N
 Private report:     N

 New Comment:

I had the same problem, then I found that in the Apache configuration
file, 

httpd.conf, I had PHPIniDir pointing to the wrong directory. I corrected
it to 

PHPIniDir "c:/Program Files/php"

and now it all works.


Previous Comments:
------------------------------------------------------------------------
[2010-05-25 08:18:43] wordlordca at hotmail dot com

I want to report that when i run from cmd php.exe -info i get a response
stating that my php.ini file was not found, however when i run a php
file from my browser and that php file has phpinfo(); it responds by
telling me that the configuration file php.ini path is c:\windows ,
however if i look below it shows that it has loaded my configuration
file 



Configuration File (php.ini) Path  C:\Windows  

Loaded Configuration File  D:\PHP\php.ini  





I also want to report: 

- without any path appendage to my environment variables, and without
any registry key stating inifilepath and without phprc set to point to
my php folder i was still able to get te correct response from phpinfo
when i run it through a php file via a browser. It's as if it's starts
looking where php-cgi.exe is located and goes from there.

------------------------------------------------------------------------
[2010-05-24 17:49:20] wordlordca at hotmail dot com

I have the same problem as reported here.



php 5.3.2 NTS, VC9 for 32 bit server 2008

iis7

fastcgi

server : windows srever 2008, virtual server

------------------------------------------------------------------------
[2010-03-19 15:55:18] rafael dot amador at gmail dot com

i don't know which part is bogus, if you read carefully, i reported the
error very preciselly, the bug involves a wide range of components ,and
inclusive i had posted a workarround ... since i posted the bug in 2006
... noone has really checked the bug and by other way a lot of user had
reported the bug with diferent name... i think that my bug use case is
clear ...

------------------------------------------------------------------------
[2010-03-19 09:31:44] paj...@php.net

Which bug are you referring to? The initial report is completely bogus
and mix many different things which have nothing to do with php.ini.



If you are experiencing a problem, please open a new bug with a clear
explanation :)

------------------------------------------------------------------------
[2010-03-19 09:27:45] dmathieu at oetker dot fr

Always the error with windows 2008 and iis 7

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=37919


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=37919&edit=1

Reply via email to