需求
为了使右键函数正常运行,PHP 必须在编译时访问你系统里的 sendmail
可执行文件。
如果你使用了其他邮件程序,例如 qmail
或者 postfix,请确保它们使用了与 sendmail 适配的包装器。
PHP 首先会在你的 PATH
变量里查找 sendmail,然后在下面的路径里查找:
/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib
。
强烈建议 sendmail 在您的
PATH
变量里。并且,运行编译后PHP程序的用户也必须有执行 sendmail 的权限。

User Contributed Notes
There are no user contributed notes for this page.