Installing php_mailparse On IIS

Hello I am not a huge PHP guy. I Am running server 2003 with II6 and PHP 5.2.9  I need Mailparse.dll installed

I downloaded the php_mailparse.dll and put in the ext file

I also have good in my ini file

; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.


not sure what i am missing maybe the file isnt compatable? not sure what error PHP Warning: PHP Startup: Unable to load dynamic library './php_mailparse.dll' - The specified module could not be found. in Unknown on line 0

I did these commands

1. Go to and download the version of the dll that goes with your PHP version.
2. Place the dll into your php/ext directory.
3. Open your php.ini and adda line under the extension=php_mbstring called extension=php_mailparse. Make sure that both of these lines do not have the ; preceding them.
4. remove the ; in front of the extension=php_imap.dll
5. Save your changes in the php.ini file
6. Restart IIS

But the link in 1 is broken.. i had to find another dll could that be the issue i am running 5.2.9 php where can i find a good dll?

if thats the issue
Who is Participating?
Richard QuadlingConnect With a Mentor Senior Software DeveloperCommented:
gotti777Author Commented:
I guess I am looking for a compatable version of the  compile PECL extensions  php_mailparse.dll   Or try and compile my own but know how.  i downloaded mailparse-2[2].1.5.tgz  from the php site un ziped it but thats about as far as i got
Richard QuadlingSenior Software DeveloperCommented:
The pecl4win site is offline and has been for a while. As a windows+PHP developer, the lack of the pecl4win archive is a PITA.

I don't know what the issues are (I've just asked and will update you when I get a response).

But for each extension, at least 20 builds would need to be performed (VC6/VC9, ts/nts, PHP5.0/PHP5.1/PHP5.2/PHP5.3/PHP6.0). If debug builds are also required, then this becomes 40 builds per extension.

There are currently 220 PECL packages, so that (WCS) is 8,800 builds.

Not an insignificant task. And then what frequency? Daily/Weekly?

You may also have to deal with different versions of the extension.

So, not really an answer, just some info.

If/when I get a response from the PHP Group, I'll let you know.


Richard Quadling.
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Richard QuadlingSenior Software DeveloperCommented: is the only place I could find a prebuilt php_mailparse.dll

Richard QuadlingSenior Software DeveloperCommented:
I'm afraid you are out of luck.

About 10 hours ago, this was committed to the PHP documentation ...

 Removed references to pecl4win as it died. And updated information with
 the current status, which is: We do not offer Windows binaries for PECL
 extensions. In the future will offer such downloads.


+     At this time the PHP project does not compile Windows binaries for
+     PECL extensions. However, to compile PHP under Windows see the
+     chapter titled
+     <link linkend="">building PHP for Windows</link>.

So, unless you have good quality C skills and a MS C compiler you are going to have problems.

In just reading through the PECL newsgroup regarding this issue. It seems to be repeated again and again.

Richard QuadlingSenior Software DeveloperCommented:
It seems the issue is that PECL do not version their extensions. So when you build an extension today, the code may be different tomorrow, so which version is the right one?

Over 200 extensions, each with their own "version" and using external libraries which also have versions and the mess is massive and not going to be fixed any time soon it seems.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.