#25216 [Asn]: PEAR package depends on XML_RPC but doesn't list it in package.xml

From: Date: Sun, 24 Aug 2003 17:14:01 +0000
Subject: #25216 [Asn]: PEAR package depends on XML_RPC but doesn't list it in package.xml
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-20464@lists.php.net to get a copy of this message
ID: 25216 Updated by: cellog@php.net Reported By: marshall at exclupen dot com Status: Assigned Bug Type: PEAR related PHP Version: Irrelevant Assigned To: cellog New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2003-08-22 20:17:27] 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-22 20:14:05] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25216&edit=1

« previous php.pear.dev (#20464) next »