安装Sendmail:

apt-get install sendmail

编辑PHP.ini:

emacs /etc/php5/apache2/php.ini

在PHP中的Sendmail参数后加入Sendmail路径:

sendmail_path = /usr/sbin/sendmail

venmos
462 声望15 粉丝

Maccon, Emacscon, Lolicon, ACG. False geek, Looks like a quiet guy. Love open source, Loves photography and outdoor sports. Favorite programming language is Ruby and Lisp.