|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: phpbugs at aphexer dot mailhaven dot com
New email:
PHP Version: OS:


 [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-2024 The PHP Group
All rights reserved.
Last updated: Wed Feb 21 03:01:33 2024 UTC