Doc #81621 [Com]: --enable-mailparse isn't a valid option

[email protected] ("austinpatrick711 at gmail dot com") Thu, 15 Dec 2022 06:00:17 +0000
Newsgroups php.doc.bugs
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=81621&edit=1

 ID:                 81621
 Comment by:         austinpatrick711 at gmail dot com
 Reported by:        phpbugs at aphexer dot mailhaven dot com
 Summary:            --enable-mailparse isn't a valid option
 Status:             Open
 Type:               Documentation Problem
 Package:            mailparse
 Operating System:   Debian
 PHP Version:        7.4.25
 Block user comment: N
 Private report:     N

 New Comment:

That's great. I was impressed by your writing. I am happy to see such a topic.




(https://www.mybkexperience.review/)php.net


Previous Comments:
------------------------------------------------------------------------
[2021-11-14 12:02:38] [email protected]

The paragraph above contains more information, but apparently none
of the linked documents explain how to do "in-tree" builds of PECL
extensions.

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-13 18:10:29] phpbugs at aphexer dot mailhaven dot com

Description:
------------
php-7.4.25

According to the documentation on https://www.php.net/manual/en/mailparse.installation.php:

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.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=81621&edit=1