Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

with-xmlrpc configure option not recognized in php 8.2.9 and 8.2.10 #2770

Open
omaquaire opened this issue Sep 16, 2023 · 4 comments
Open

with-xmlrpc configure option not recognized in php 8.2.9 and 8.2.10 #2770

omaquaire opened this issue Sep 16, 2023 · 4 comments

Comments

@omaquaire
Copy link

From manual page: https://php.net/xmlrpc.installation


Hello,

Having a requirement for XMLRPC in an application, I tried to install it.

I am using PHP 8.2.9, dependencies are satisfied (meaning libxml), and the parameter --with-xmlrpc is used, but the configure script says the following :

configure: WARNING: unrecognized options: --with-xmlrpc

Is there something outdated in the documentation ?
Am I applying something wrong ?

I tried php 8.2.10, and the option is also not available.

@damianwadley
Copy link
Member

xmlrpc is no longer bundled with PHP. You have to get it through PECL instead.

The installation section is out of date and needs to be updated, but the user comments are relevant.
https://www.php.net/manual/en/xmlrpc.installation.php

@omaquaire
Copy link
Author

Hello Damian,

Thank you for the heads up, and that confirms my suspicion.
I agree that comments may be valid, but nowhere is it written that that XMLRPC is no longer shipped, which is misleading, and may let people lose time searching for something since the information is not visible.

Allow me to make a comment about that in the user notes of those pages.

If there is nothing more to add, I guess we can close this ticket.

@damianwadley
Copy link
Member

You're right, the docs still suggest that it's part of the PHP "core", and can be enabled/disable at configure time. So they need to be updated.

For the record, the un-bundling happened with PHP 8.0 - when new major versions are planned, there's also typically some discussion about whether certain extensions are maintained or not, and whether they should be kept in the core or not. xmlrpc is unmaintained and thus it was moved to PECL.

If you added a user comment already, okay. If not then you don't need to: this Issue will see to it that the docs are updated with correct installation/configuration instructions, and that will make a number of those user comments (possibly including yours) unnecessary.

@omaquaire
Copy link
Author

Hey Damian,

Thank you for the additional info.
Now about the requirement of the comment allow me to disagree with you.
Fixing is a 2 part process, first we do it quick and dirty, then we look for the long term solution.

I did the comment already, so that people will be aware of this change.
Eventually, I will add up the information that it happened in 8.0.
Then the PHP team will settle down the long term solution. My comment may become obsolete and be deleted, but it only took 5 minutes, and now people can find the information, so I guess it was worth the time spent.

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants