#20540 [Opn->Fbk]: PHP do not read PHP.INI
| From: | philip@php.net | Date: | Thu, 21 Nov 2002 17:50:34 +0000 |
| Subject: | #20540 [Opn->Fbk]: PHP do not read PHP.INI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25434@lists.php.net to get a copy of this message | ||
ID: 20540
Updated by: philip@php.net
Reported By: JeanFrederic@Loiseau.org
-Status: Open
+Status: Feedback
Bug Type: PHP options/info functions
Operating System: Windows XP Pro
PHP Version: 4.2.0
New Comment:
Do this:
a) load phpinfo();
b) It will tell you where your php.ini is or where it's looking for it.
It will include the path and filename so: c:\foo\php.ini
c) Not that (b) will not just be a path, it will include the filename
too. Please confirm this. If just a path shows, put your php.ini in
this directory.
d) Edit this php.ini. If you are running php as a module, restart web
server.
e) For kicks, try changing some more common directives, such as
register_globals
Also, name it php.ini not PHP.ini although on windows this shouldn't
matter but...
Previous Comments:
------------------------------------------------------------------------
[2002-11-21 04:45:25] JeanFrederic@Loiseau.org
Hello,
I've put PHP.ini in C:\WINXP as requested, but when I modify it (for
exemple changing the SMTP server info), phpinfo() do NOT get the
changes...
I verified again and again, php.ini is correct with the changes, but
the SMTP value is still the default value "localhost"...
I've check, I have no other php.ini on my machine...
I even suppress php.ini, but phpinfo() do not really care it seems...
taking always default values.
Thanks in advance for your help
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20540&edit=1