Re: Problem with mail() on Debian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



George Pitcher wrote:
Manuel,


I have found that any changes I make to php.ini are ignored, even after
restarting Apache. I have been editing httpd.conf via Webmin,

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 start




which for most

configs works fine (and is displayed in phpinfo(), the sendmail

changes are

never displayed (always shows sendmail_path = /usr/sbin/sendmail).

until the sendmail_path changes when you view
phpinfo() your updated php.ini has not been read in - for whatever
reason.


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


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux