Re: mail() problem
| From: | Tomator | Date: | Sat, 11 May 2002 07:56:38 +0000 |
| Subject: | Re: mail() problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13700@lists.php.net to get a copy of this message | ||
> 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!