php.net |  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:
Package:
Bug Type:
Summary:
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
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-11-14 12:02 UTC] cmb@php.net
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-15 12:54 UTC] cmb@php.net
-Type: Bug +Type: Documentation Problem
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Aug 09 01:05:44 2022 UTC