$ pear channel-discover pear.symfony-project.com
Discovery of channel "pear.symfony-project.com" failed (channel-add: Cannot open "http://pear.symfony-project.com/channel.xml")
Error 404 - document not found
The requested document /dtd/channel-1.0 was not
found on this server.
If you think that this error message is caused by an error in the
configuration of the server, please contact
What PHP version are you using? The channel.xml is there:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pear.php.net/dtd/channel-1.0
http://pear.php.net/dtd/channel-1.0.xsd">
<name>pear.symfony-project.com</name>
<summary>symfony project PEAR channel</summary>
<suggestedalias>symfony</suggestedalias>
<servers>
<primary>
<rest>
<baseurl
type="REST1.0">http://pear.symfony-project.com/Chiara_PEAR_Server_REST/</baseurl>
<baseurl
type="REST1.1">http://pear.symfony-project.com/Chiara_PEAR_Server_REST/</baseurl>
</rest>
</primary>
</servers>
</channel>
What is happening is for some weird reason it is trying to validate the
XML schema, and is not parsing the schemaLocation attribute correctly.
It should be grabbing
http://pear.php.net/dtd/channel-1.0.xsd
not
http://pear.php.net/dtd/channel-1.0
Thanks,
Greg