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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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
 [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.




(https://www.mybkexperience.review/)php.net
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 22 04:01:28 2024 UTC