#39834 [Opn->Bgs]: PHP not recognizing php.ini changes
| From: | bjori@php.net | Date: | Sun, 17 Dec 2006 14:11:20 +0000 |
| Subject: | #39834 [Opn->Bgs]: PHP not recognizing php.ini changes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106435@lists.php.net to get a copy of this message | ||
ID: 39834
Updated by: bjori@php.net
Reported By: nicole at antfarminteractive dot com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Windows 2000
PHP Version: 5.2.0
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2006-12-15 13:48:46] smlerman at gmail dot com
The configuration path shown in phpinfo() is where PHP looks for
php.ini. PHP does not use the PATH environment variable to find
php.ini. I know there's an Apache configuration directive PHPIniDir to
change the path, but I don't know if there's an equivalent for IIS. The
list of places that PHP looks for php.ini can be found in the manual:
http://www.php.net/manual/en/configuration.php#configuration.file
------------------------------------------------------------------------
[2006-12-14 19:24:57] nicole at antfarminteractive dot com
Description:
------------
I have a Windows 2000 web server that is using IIS, as well as a SMTP
virtual server.
I have updated the "sendmail_from" option within the php.ini file, and
the server has been restarted numerous times.
PHP is installed within the "C:\php" directory.
For some reason, the phpinfo() file shows the PHP configuration path as
"C:\winnt", despite the fact that I have added the ";c:\php" directory
within the server's environment variables (the one for PATH). Also, the
"sendmail_from" area shows "no value", although the php.ini file does
not reflect this.
I have searched everywhere and cannot resolve this. Why is PHP failing
to recognize the PHP.ini file?
Reproduce code:
---------------
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
sendmail_from = [client name]@[client domain].com
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39834&edit=1