mirror of
https://github.com/php/doc-zh.git
synced 2026-03-24 15:12:20 +01:00
51 lines
1.6 KiB
XML
51 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<!-- $Revision$ -->
|
||
<!-- EN-Revision: 48ce43fe79fa0c9f31f187ea8ec995b4cb13037e Maintainer: Jie Dai Status: ready -->
|
||
<!-- CREDITS: mowangjuanzi, Luffy -->
|
||
<chapter xml:id="mail.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||
&reftitle.setup;
|
||
|
||
<!-- {{{ Requirements -->
|
||
<section xml:id="mail.requirements">
|
||
&reftitle.required;
|
||
<para>
|
||
为了使邮件功能可用,PHP 在编译时必须能够访问系统上的
|
||
<literal>sendmail</literal> 二进制文件。如果使用其他邮件程序,例如
|
||
<productname>qmail</productname> 或 <productname>postfix</productname>,
|
||
请确保使用相应的包装器。PHP 首先会在你的 <envar>PATH</envar> 中查找
|
||
sendmail,然后在以下位置查找:
|
||
<literal>/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib</literal>。
|
||
强烈建议将 sendmail 添加到你的 <envar>PATH</envar> 中。
|
||
另外,编译 PHP 的用户必须有权限访问 sendmail 二进制文件。
|
||
</para>
|
||
</section>
|
||
<!-- }}} -->
|
||
|
||
<!-- {{{ Configuration -->
|
||
&reference.mail.ini;
|
||
<!-- }}} -->
|
||
|
||
</chapter>
|
||
|
||
<!-- Keep this comment at the end of the file
|
||
Local variables:
|
||
mode: sgml
|
||
sgml-omittag:t
|
||
sgml-shorttag:t
|
||
sgml-minimize-attributes:nil
|
||
sgml-always-quote-attributes:t
|
||
sgml-indent-step:1
|
||
sgml-indent-data:t
|
||
indent-tabs-mode:nil
|
||
sgml-parent-document:nil
|
||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||
sgml-exposed-tags:nil
|
||
sgml-local-catalogs:nil
|
||
sgml-local-ecat-files:nil
|
||
End:
|
||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||
vim: et tw=78 syn=sgml
|
||
vi: ts=1 sw=1
|
||
-->
|
||
|