Re: Problem with mail() on Debian
| From: | Jochem Maas | Date: | Thu, 23 Feb 2006 14:16:58 +0000 |
| Subject: | Re: Problem with mail() on Debian | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230957@lists.php.net to get a copy of this message | ||
George Pitcher wrote:
Manuel,personally I'd rather stick my head in a blender than use webmin to edit such conf files. (no I wouldn't but you get the point hopefully) how are you restarting apache? possibly your being told that the restart occured but really your being lied to ... try doing it 'manually': e.g.: ?> apachectl stop; sleep 5; apachectl startI have found that any changes I make to php.ini are ignored, even after restarting Apache. I have been editing httpd.conf via Webmin,
until the sendmail_path changes when you view phpinfo() your updated php.ini has not been read in - for whatever reason.which for mostconfigs works fine (and is displayed in phpinfo(), the sendmailchanges arenever displayed (always shows sendmail_path = /usr/sbin/sendmail).
There are no miracles. If you change restarted Apache and phpinfo() shows the same in sendmail_path, either you have other Apache configuration changing PHP options, or you have not really changed php.ini, which is very likely. No, I am not saying you are crazy. It is very likely that the real php.ini is not in the path you think it is. This may happen if you have installed Zend Studio or some other tool that needs to replace the real php.ini and moves it elsewhere. Look again to the phpinfo() output to determine the real path of php.ini .That's the crazy part! phpinfo() shows the path to the php.ini file as the one that I have been editing, and if I open that file in vi, it shows all the changes I've made. This is a bare debian install in as much as it has no windowing environments. No Zend Studio, or anything else fancy. Smarty and PEAR work, its just the emailing that is letting me down just now. Once that's resolved I'll move on to spreadsheet reading. Cheers George