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
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:
MUST BE VALID
Solve the problem:
48 - 20 = ?
Subscribe to this entry?

 
 [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
 [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: Thu Mar 28 17:01:29 2024 UTC