如何在没有 pear 或 phar 的情况下安装 PEAR::Mail for TYPO3?
为了将 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正确的方法
您需要执行 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 thebaseinstalldir
) 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.