PHP can"t find the php.ini file

PHP can"t find the php.ini file

am 25.06.2007 11:21:09 von Don Denton

Please forgive what may be a simple question, but I sure can't figure it
out.

SETUP: I am running apache 2.0.59 on Windows XP home SP2 with php 5.2.3
installed and running.

PROBLEM: PHP is not seeing the config file (php.ini) in c:\windows. Running
phpinfo() yields these results in the mentioned fields:

Configuration File (php.ini) Path
C:\WINDOWS
Loaded Configuration File
(none)

What is going on??? I know the file is there! Why can't php see it? Or am I
just totally misunderstanding?


Thanks so much,
Don

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP can"t find the php.ini file

am 25.06.2007 17:54:05 von Niel Archer

Hi

What makes you think it's not finding the configuration file? phpinfo
output tells you where the php.ini IS located.

BTW, it's no longer recommended to keep it in the windows directory.
See the manual setup documentation for preferred methods.

Niel

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: PHP can"t find the php.ini file

am 25.06.2007 21:04:44 von Don Denton

I know it isn't seeing the file because no matter what I change in the
configuration, the defaults remain on.

~Don

-----Original Message-----
From: Niel Archer [mailto:Niel Archer] On Behalf Of Niel Archer
Sent: Monday, June 25, 2007 10:54 AM
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] PHP can't find the php.ini file

Hi

What makes you think it's not finding the configuration file? phpinfo
output tells you where the php.ini IS located.

BTW, it's no longer recommended to keep it in the windows directory.
See the manual setup documentation for preferred methods.

Niel

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP can"t find the php.ini file

am 25.06.2007 21:08:04 von Jarrett Meyer

Do you restart your Apache server after making a change to php.ini?

--
Jarrett M. T. Meyer
http://jarrettmeyer.blogspot.com
http://www.jarrettmeyer.com

----- Original Message ----
From: Don Denton
To: php-windows@lists.php.net
Sent: Monday, June 25, 2007 3:04:44 PM
Subject: RE: [PHP-WIN] PHP can't find the php.ini file

I know it isn't seeing the file because no matter what I change in the
configuration, the defaults remain on.

~Don

-----Original Message-----
From: Niel Archer [mailto:Niel Archer] On Behalf Of Niel Archer
Sent: Monday, June 25, 2007 10:54 AM
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] PHP can't find the php.ini file

Hi

What makes you think it's not finding the configuration file? phpinfo
output tells you where the php.ini IS located.

BTW, it's no longer recommended to keep it in the windows directory.
See the manual setup documentation for preferred methods.

Niel

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP can"t find the php.ini file

am 25.06.2007 21:32:31 von Janis Ritmanis

MS4gWW91ciBodHRwZC5jb25mIGZpbGUgc2h1bGQgaGF2ZSBsaW5lcyBzb2V0 aGluZyBsaWtlIHRo
ZWVzOgoiUEhQSW5pRGlyICJDOi9XaW5kb3dzLyIKTG9hZE1vZHVsZSBwaHA1 X21vZHVsZSAiQzov
UEhQL3BocDVhcGFjaGUyXzIuZGxsIgpBZGRUeXBlIGFwcGxpY2F0aW9uL3gt aHR0cGQtcGhwIC5w
aHAiCgoyLiByZW1vdmUgcGhwLmluaSBmaWxlIGZyb20gQzovUEhQIG9yIHdo YXRldmVyIHlvdXIg
aW5zdGFsbCBkaXJlY3RvcnkKaXMsIHNvIG9ubHkgb25lIGNvcHkgb2YgaXQg aXMgb24gc3lzdGVt
IGluIEM6L1dpbmRvd3MgZm9sZGVyLgoKT24gMjUvMDYvMDcsIERvbiBEZW50 b24gPGRlbnRvbi5k
b25AZ21haWwuY29tPiB3cm90ZToKPiBJIGtub3cgaXQgaXNuJ3Qgc2VlaW5n IHRoZSBmaWxlIGJl
Y2F1c2Ugbm8gbWF0dGVyIHdoYXQgSSBjaGFuZ2UgaW4gdGhlCj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