> I'm using WinXP with PHP as Apache's module and have PHP.INI in C:\winnt,
> where is the line "SMTP = my.addres". However phpinfo() ALWAYS tells that
> SMTP is "localhost". I can change thist only with ini_set(), but it
doesn't
> fix my problem - I can't send any e-mail from my PHP!

OK, I've managed. I had to set "SMTP" and "sendmail_from" at script level,
with ini_set() function. But I still don't know why PHP is not responding to
changes in php.ini. Php.ini is stored in c:\winnt folder which is indicated
(by phpinfo() ) as one containing php.ini. So, does everybody know why does
this work that way?

I've of course restarted Apache (many times) and rebooted computer (twice),
but I still can't see any effect of changing php.ini!



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

Reply via email to