|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #81621 --enable-mailparse isn't a valid option
Submitted: 2021-11-13 18:10 UTC Modified: 2021-11-15 12:54 UTC
From: phpbugs at aphexer dot mailhaven dot com Assigned:
Status: Open Package: mailparse (PECL)
PHP Version: 7.4.25 OS: Debian
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
18 + 10 = ?
Subscribe to this entry?

 [2021-11-13 18:10 UTC] phpbugs at aphexer dot mailhaven dot com

According to the documentation on

In order to use these functions you must compile PHP with mailparse support by using the --enable-mailparse configure option.

configure output:

configure: WARNING: unrecognized options: --enable-mailparse

Expected result:
Fix the documentation.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-11-14 12:02 UTC]
The paragraph above contains more information, but apparently none
of the linked documents explain how to do "in-tree" builds of PECL

In short: if you want to use the --enable-mailparse option, you
need to download the sources, and place them into your php-src as
ext/mailparse.  Afterwards do ./buildconf; then it should work.
You likely want to do `pecl install mailparse` instead.
 [2021-11-15 12:54 UTC]
-Type: Bug +Type: Documentation Problem
 [2022-12-15 06:00 UTC] austinpatrick711 at gmail dot com
That's great. I was impressed by your writing. I am happy to see such a topic.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Sep 28 13:01:25 2023 UTC