PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, August 31, 2022

[FIXED] How can I install PEAR::Mail for TYPO3 without pear or phar?

 August 31, 2022     pear, pecl, phar, php, typo3     No comments   

Issue

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?


Solution

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.



Answered By - cweiske
Answer Checked By - Katrina (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing