ID: 15215
Comment by: registered at morphatic dot com
Reported By: php at totti dot de
Status: No Feedback
Bug Type: *Configuration Issues
Operating System: Windows NT 5.1 (XP)
PHP Version: 4.1.1
New Comment:

I had the same problem. It turned out that I had improperly defined
the PHPRC environment variable. Make sure you pay attention to this
FAQ from the Manual installation instructions:
[url]http://www.php.net/manual/en/faq.installation.php#faq.installation.phprc[/url]


Previous Comments:
------------------------------------------------------------------------

[2006-09-08 04:07:14] joebeazelman at hotmail dot com

Ditto. I am running XP with IIS 5. I removed all traces of php.ini
from my system and only left a copy in the root folder of my php 4
installation and phpinfo still said it found the php.ini file in my
windows directory.

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

[2006-05-03 15:24:11] t dot johnson at intercall dot ie

I have incountered the same issue with php 5.1.2 and iis 6 on all 3 of
our servers. The phpinfo() reports c:\windows as the location of
php.ini on all installations which were manually configured. the error
occurs on clean systems with nothin but OS, IIS and pho installed. Does
anyone have any further info on this problem?

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

[2002-02-28 00:00:04] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2002-01-27 15:11:58] [email]sander@php.net[/email]

Do you mean the PHP installer?
Anyway, Christoph is right, it doesn't look at the version string but
it just tries your Windows-directory.
phpinfo() reports where it has found php.ini. Look at that path. It
should really work if you place it in c:\windows.

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

[2002-01-27 15:05:09] phpbugs at gordimer dot net

This has never happened to me. My php.ini gets parsed whether it
resides in windows directory (for sapi-version) or in php-directory for
cgi. I'm using XP Pro, but it also works with NT 4 and non-standard
windir-name (winntw).

Christoph

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

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
[url]http://bugs.php.net/15215[/url]

--
Edit this bug report at [url]http://bugs.php.net/?id=15215&edit=1[/url]