ID: 20540 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: PHP options/info functions Operating System: Windows XP Pro PHP Version: 4.2.0 New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [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