ID:               20540
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Bogus
 Bug Type:         PHP options/info functions
 Operating System: Windows XP Pro
 PHP Version:      4.2.0
 New Comment:

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.




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

[2002-11-21 16:41:21] [EMAIL PROTECTED]

You are using a relatively dated PHP, upgrading to 4.2.3 or better yet
stable snapshot (avaliable from http://snaps.php.net) may solve your
problem.

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

[2002-11-21 12:20:46] [EMAIL PROTECTED]

Thanks a lot for your fast reply...

But, I knew of course that phpinfo() shows the path... and the
displayed path by phpinfo() is "c:\winxp\php.ini"

This is where I put the php.ini, but whatever I'm modifying in it and
even restarting Apache, it does not take the changes into account !!!!
I do not understand why...

Anyway I'm using a workaround until finding the reason based on
ini_set() function... I have to harcode it in the source code, but it
works...

Please, if you have any idea tell me... I hate to not understand when
I'm doing all what is requested :-)

Regards,

Jean-Frederic

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

[2002-11-21 11:50:34] [EMAIL PROTECTED]

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... 

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

[2002-11-21 04:45:25] [EMAIL PROTECTED]

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

Reply via email to