开发者

How can I install PEAR::Mail for TYPO3 without pear or 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开发者_如何学C the system)

I have neither pear nor phar available.

How do I install the package after downloading it manually?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜