Avatar of Marthaj
MarthajFlag for United States of America

asked on 

Installing mailparse.dll for PHP 5.6.04

Hello folks. I need someone to help me install the php_mailparse.dll to use
 with php-mime-mail.parser v3.0.4 for PHP 5.6.04.
I downloaded mailparser-3.1.0.tgz file and extracted it the folder mail-parse-3.0.4.
I downloaded php-mime-mail.parser and extracted it to php-mime-mail-parser-3.,0,4
I moved both folders to my project directory. Made sure that my php.ini was adjusted.
I thought the  php_mailparse.dll  would be contained in the zip file but it wasn't.
I have read and read the instructions. Do I have to do the following ?
I do not have a folder 'mailparse-3.0.2/phpsize nor a config folder.

 (I do not have PECL).I am  NOT good at this sort of thing but can't use composer because my client uses PHP 5.6.04 so I do not want the latest version. I know composer makes simple but as I said, I needed a older version.

Thank you for any help.
Below is the only instructions I found.
cd
pecl download mailparse
tar -xvf mailparse-3.0.2.tgz
cd mailparse-3.0.2/
phpize
./configure
sed -i 's/#if\s!HAVE_MBSTRING/#ifndef MBFL_MBFILTER_H/' ./mailparse.c
make
sudo mv modules/mailparse.so /usr/lib/php/201603

Open in new window



PHP

Avatar of undefined
Last Comment
David Favor
Avatar of David Favor
David Favor
Flag of United States of America image

Best to first go through the above instructions, then report any problems.

Since PHP-5.6 is EOL (end of life... deprecated... dead... hackable...) you may find you have to use some older version (not latest) to match PHP-5.6 which likely sets your starting point.

If I did the instructions above + had problems, I'd contact the mailparse developer(s) asking about which mailparse version I should use with PHP-5.6 as they'll likely know if there's downlevel version you must use.
ASKER CERTIFIED SOLUTION
Avatar of Marthaj
Marthaj
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of David Favor
David Favor
Flag of United States of America image

You're welcome!
PHP
PHP

PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.

125K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo