php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25216 PEAR package depends on XML_RPC but doesn't list it in package.xml
Submitted: 2003-08-22 20:14 UTC Modified: 2003-08-25 11:49 UTC
From: marshall at exclupen dot com Assigned: cellog (profile)
Status: Closed Package: PEAR related
PHP Version: Irrelevant OS:
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: marshall at exclupen dot com
New email:
PHP Version: OS:

 

 [2003-08-22 20:14 UTC] marshall at exclupen dot com
Description:
------------
XML_RPC is used in PEAR/Remote.php, but it isn't listed as a dependency for the PEAR package.  If XML_RPC and the xmlrpc PHP extension aren't present, it raises an error saying that the remote features are unavailable until XML_RPC is installed.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-22 20:17 UTC] marshall at exclupen dot com
I forgot to mention that XML_RPC should be an optional dependency, since Remote.php will work without XML_RPC provided that the PHP extension is installed.
 [2003-08-24 12:14 UTC] cellog@php.net
Hi,

I think the best solution is to add 2 dependencies to pear-Package.xml, after some thought.  One optional dependency on the xml-rpc extension, and one required dependency on XML_RPC, as this is the fallback by default.

If there were a way to tell the installer "either this or the other is needed" that would be a better solution, but there isn't :)

Greg
 [2003-08-24 12:42 UTC] marshall at exclupen dot com
Sorry if this shows up several times... it didn't show up when I added a comment, so now i'm using "Edit Submission".
--
Is the xmlrpc extension even needed? It seems like it could make installation more confusing, since PEAR packages are really easy to install, and extensions are not, especially if you're on shared hosting.  The class would be a lot simpler without it (the entire class_epi() function could be removed), but perhaps slower.  Perhaps we could plan to add xmlrpc extension stuff to the XML_RPC package, so you'd be guaranteed to have XML-RPC just by installing XML_RPC.
 [2003-08-24 14:13 UTC] cellog@php.net
That's a good idea - if you can convince the maintainer of XML_RPC to do this, then it makes fixing pear-Package.xml easier :).  However, that's not in the scope of this bug, so you do what you can, and I'll react.

Greg
 [2003-08-25 11:49 UTC] cellog@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 13:01:29 2024 UTC