LampPi

 

Notes


Connecting PHP and sendmail

If you have installed PHP and the mail function is not working, you may need to update your php.ini file. It is assumed that you have a mail client installed.

1. ssh into the server

2. Execute the following:
$ more /etc/php5/apache2/php.ini
/sendmail

Note: The "/sendmail" will search (/) for the word "sendmail". Make sure it is set and not null. The common setting is "sendmail_path = /usr/sbin/sendmail -t -i"
Note: The directory "/etc/php5/apache2/" is used in this example, but your directory may be different.


About

Contact

Links

Site Map

© LampPi 2018