Re: PHP Email Setup problem
| From: | Shawn McKenzie | Date: | Thu, 14 May 2009 21:57:17 +0000 |
| Subject: | Re: PHP Email Setup problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-292597@lists.php.net to get a copy of this message | ||
Moses wrote:
> Hi Everyone
>
> I have tried to configure my php.in file so as allow me to send email in PHP
> from local server.
> I added the lines in php.ini file
> sendmail_path = /usr/sbin/sendmail -t
> sendmail_from = name@localhost
>
> Therafter restarted my apache by:
>
> sudo /etc/init.d/apache2 restart
>
> However, I get the following error when I restart mt apache
>
> apache2: Could not reliably determine the server's fully qualified domain
> name, using 12... for ServerName
>
> Thanks.
>
> Moses
>
That has nothing to do with PHP or sendmail, it's in the Apache conf.
You would see this whether you configured sendmail or not. AFAIK it's
not a problem, especially on a dev box.
--
Thanks!
-Shawn
http://www.spidean.com