如何在没有 pear 或 phar 的情况下安装 PEAR::Mail for TYPO3?

发布于 2024-12-07 15:53:17 字数 345 浏览 11 评论 0原文

为了将 TYPO3 扩展“直接邮件”与外部 SMTP 服务器一起使用,我需要安装 PEAR::Mail (http://pear.php.net/package/Mail/download/1.2.0)。

至少,直邮配置中的文本告诉我的是:

启用通过 SMTP 发送 [SmtpEnabled] 不通过 sendmail 而是通过外部 SMTP 发送所有电子邮件 帐户(需要在系统上安装 PEAR::Mail)

我既没有可用的 pear 也没有 phar。

手动下载后如何安装该包?

In order to use the TYPO3 extension 'Direct Mail' with an external SMTP server, I need to install PEAR::Mail (http://pear.php.net/package/Mail/download/1.2.0).

At least, that is what the text in the Direct Mail configuration tells me:

Enable Sending through SMTP [SmtpEnabled]
Send all emails not through sendmail but through an external SMTP
account (requires PEAR::Mail to be installed on the system)

I have neither pear nor phar available.

How do I install the package after downloading it manually?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

╰沐子 2024-12-14 15:53:17

正确的方法

您需要执行 PEAR 安装程序执行的所有操作 - 但需要手动执行。

也就是说,读取package.xml 文件,记下哪些文件需要提取到哪些位置(不要忘记baseinstalldir),然后提取文件。
之后,您需要解决所有依赖项并安装正确版本的依赖包,如 package.xml 文件中所述。
另外,不要忘记执行 package.xml 文件中所述的替换任务。

快速方法

提取 tgz,删除 package.xml 并调整包含路径。

然后快跑,永远不要寻求帮助,因为它不起作用。

The correct way

You need to do everything the PEAR installer does - but manually.

That is, read the package.xml file, note which files need to be extracted to which places (don't forget the baseinstalldir) and then extract the files.
After that you need to resolve all dependencies and install the dependent packages in the correct version as noted in the package.xml file.
Also do not forget to execute the replacement tasks as noted in the package.xml file.

The fast way

Extract the tgz, delete package.xml and adjust your include path.

Then run fast and NEVER EVER ASK FOR HELP BECAUSE IT DOES NOT WORK.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文