| View previous topic :: View next topic |
| Author |
Message |
bgibson710
Joined: 19 Jun 2009 Posts: 4
|
Posted: Fri Jun 19, 2009 1:38 pm Post subject: pear.php.net is using a unsupported protocal |
|
|
I am doing a new build of PHP, and I've never seen this come up before. I did a little digging around but I can't seem to locate a solution.
I'm running this on a SLES 9 SP4 server. The build of PHP went well, I'm building 5.2.10
When I try to install the PhpDocumentor I get the following:
pear.php.net is using a unsupported protocal - This should never happen.
install failed
Any ideas as to why I would see this? |
|
| Back to top |
|
 |
bgibson710
Joined: 19 Jun 2009 Posts: 4
|
|
| Back to top |
|
 |
tholub
Joined: 23 Jun 2009 Posts: 3
|
Posted: Tue Jun 23, 2009 2:37 am Post subject: |
|
|
| I'm also seeing the same behavior when trying to upgrade to 5.2.10 from 5.2.9; I'm unable to install any package via the pear command-line client. The 5.2.9 installation is still working. This is on RHEL4, Apache 2.2.11. Bug in 5.2.10? |
|
| Back to top |
|
 |
bgibson710
Joined: 19 Jun 2009 Posts: 4
|
Posted: Tue Jun 23, 2009 8:36 pm Post subject: |
|
|
| tholub wrote: | | I'm also seeing the same behavior when trying to upgrade to 5.2.10 from 5.2.9; I'm unable to install any package via the pear command-line client. The 5.2.9 installation is still working. This is on RHEL4, Apache 2.2.11. Bug in 5.2.10? |
We are both using Apache 2.2.11, that may be the similarity. Since I'm not seeing many others post that they have this problem, I'm hesitant to say it's a bug, but it certainly feels like one. |
|
| Back to top |
|
 |
tholub
Joined: 23 Jun 2009 Posts: 3
|
Posted: Tue Jun 23, 2009 9:37 pm Post subject: |
|
|
| I can't imagine that it's an Apache issue; pear's functions are outside of anything Apache would influence. |
|
| Back to top |
|
 |
bopper
Joined: 23 Jun 2009 Posts: 3
|
Posted: Tue Jun 23, 2009 10:39 pm Post subject: |
|
|
I'm having the same problem. I've tried
php-5.2.10
php5.2-200906231830
php-5.2.9
I get the same message whenever I try to install any package:
pear.php.net is using a unsupported protocal - This should never happen.
install failed
Any ideas? It used to work in previous installs for me with 5.2.9. |
|
| Back to top |
|
 |
bopper
Joined: 23 Jun 2009 Posts: 3
|
Posted: Tue Jun 23, 2009 10:44 pm Post subject: |
|
|
Ok, its likely to do with the pear .channels configuration.
I tried installing 5.2.9 overtop of previous installs of 5.2.10 and it didn't work. However, when I removed /usr/local/lib/php completely and reinstalled 5.2.9 from scratch, the pear installer works now. |
|
| Back to top |
|
 |
tholub
Joined: 23 Jun 2009 Posts: 3
|
Posted: Tue Jun 23, 2009 11:01 pm Post subject: |
|
|
Looks like you're right. I copied these two files from my 5.2.9 installation:
/usr/local/lib/php/.channels/pear.php.net.reg
/usr/local/lib/php/.channels/pecl.php.net.reg
And now it works fine. These files are significantly different than what comes with the 5.2.10 release, which looks like it might be incomplete.
| Code: | a:5:{s:4:"name";s:12:"pear.php.net";s:14:"suggestedalias";s:4:"pear";s:7:"summary";s:40:"PHP Extension and Application Repository";s:7:"servers";i:0;s:13:"_lastmodified";s:31:"Mon, 22 Jun 2009 23:51:08 +0000";}
|
|
|
| Back to top |
|
 |
bopper
Joined: 23 Jun 2009 Posts: 3
|
Posted: Wed Jun 24, 2009 3:18 am Post subject: |
|
|
Great! Thanks for confirming, I didn't have time to go any further.
One thing for sure, that error message isn't of much use. |
|
| Back to top |
|
 |
calebwright
Joined: 24 Jun 2009 Posts: 1
|
Posted: Wed Jun 24, 2009 4:10 pm Post subject: |
|
|
Can someone post the pear.php.net.reg and pecl.php.net.reg files from 5.2.9 to avoid the headache of downgrading?
Thanks! |
|
| Back to top |
|
 |
Raphael Stolt
Joined: 24 Jun 2009 Posts: 1
|
Posted: Wed Jun 24, 2009 10:30 pm Post subject: |
|
|
pear.php.net.reg:
a:6:{s:7:"attribs";a:4:{s:7:"version";s:3:"1.0";s:5:"xmlns";s:31:"http://pear.php.net/channel-1.0";s:9:"xmlns:xsi";s:41:"http://www.w3.org/2001/XMLSchema-instance";s:18:"xsi:schemaLocation";s:71:"http://pear.php.net/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd";}s:4:"name";s:12:"pear.php.net";s:14:"suggestedalias";s:4:"pear";s:7:"summary";s:40:"PHP Extension and Application Repository";s:7:"servers";a:2:{s:7:"primary";a:1:{s:4:"rest";a:1:{s:7:"baseurl";a:4:{i:0;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.0";}s:8:"_content";s:25:"http://pear.php.net/rest/";}i:1;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.1";}s:8:"_content";s:25:"http://pear.php.net/rest/";}i:2;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.2";}s:8:"_content";s:25:"http://pear.php.net/rest/";}i:3;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.3";}s:8:"_content";s:25:"http://pear.php.net/rest/";}}}}s:6:"mirror";a:2:{i:0;a:2:{s:7:"attribs";a:1:{s:4:"host";s:15:"us.pear.php.net";}s:4:"rest";a:1:{s:7:"baseurl";a:4:{i:0;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.0";}s:8:"_content";s:28:"http://us.pear.php.net/rest/";}i:1;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.1";}s:8:"_content";s:28:"http://us.pear.php.net/rest/";}i:2;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.2";}s:8:"_content";s:28:"http://us.pear.php.net/rest/";}i:3;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.3";}s:8:"_content";s:28:"http://us.pear.php.net/rest/";}}}}i:1;a:2:{s:7:"attribs";a:3:{s:4:"host";s:15:"de.pear.php.net";s:3:"ssl";s:3:"yes";s:4:"port";s:4:"3452";}s:4:"rest";a:1:{s:7:"baseurl";a:4:{i:0;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.0";}s:8:"_content";s:34:"https://de.pear.php.net:3452/rest/";}i:1;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.1";}s:8:"_content";s:34:"https://de.pear.php.net:3452/rest/";}i:2;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.2";}s:8:"_content";s:34:"https://de.pear.php.net:3452/rest/";}i:3;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.3";}s:8:"_content";s:34:"https://de.pear.php.net:3452/rest/";}}}}}}s:13:"_lastmodified";a:2:{s:4:"ETag";s:20:""2fe96-59a-31a3fc80"";s:13:"Last-Modified";s:29:"Tue, 02 Jun 2009 05:55:46 GMT";}} |
|
| Back to top |
|
 |
FlyboyData
Joined: 30 Apr 2008 Posts: 4 Location: Portland, OR, USA
|
Posted: Fri Jun 26, 2009 1:46 am Post subject: pear.php.net is using a unsupported protocal |
|
|
I am seeing the same thing, using Apache 2.0 and Solaris 10 x86. I am following the instructions from the Solaris BigAdmin article on installing SAMP, and now I cannot load any of the PEAR libraries I need  _________________ Intentionally Left Blank |
|
| Back to top |
|
 |
Klinky
Joined: 26 Jun 2009 Posts: 1
|
Posted: Fri Jun 26, 2009 8:11 am Post subject: |
|
|
Here's a working pecl.php.net.reg file for those who need it as this looks to also be incomplete...
a:6:{s:4:"name";s:12:"pecl.php.net";s:14:"suggestedalias";s:4:"pecl";s:7:"summary";s:31:"PHP Extension Community Library";s:7:"servers";a:1:{s:7:"primary";a:2:{s:6:"xmlrpc";a:1:{s:8:"function";a:10:{i:0;a:2:{s:7:"attribs";a:1:{s:7:"version";s:3:"1.0";}s:8:"_content";s:9:"logintest";}i:1;a:2:{s:7:"attribs";a:1:{s:7:"version";s:3:"1.0";}s:8:"_content";s:26:"package.listLatestReleases";}i:2;a:2:{s:7:"attribs";a:1:{s:7:"version";s:3:"1.0";}s:8:"_content";s:15:"package.listAll";}i:3;a:2:{s:7:"attribs";a:1:{s:7:"version";s:3:"1.0";}s:8:"_content";s:12:"package.info";}i:4;a:2:{s:7:"attribs";a:1:{s:7:"version";s:3:"1.0";}s:8:"_content";s:22:"package.getDownloadURL";}i:5;a:2:{s:7:"attribs";a:1:{s:7:"version";s:3:"1.1";}s:8:"_content";s:22:"package.getDownloadURL";}i:6;a:2:{s:7:"attribs";a:1:{s:7:"version";s:3:"1.0";}s:8:"_content";s:25:"package.getDepDownloadURL";}i:7;a:2:{s:7:"attribs";a:1:{s:7:"version";s:3:"1.1";}s:8:"_content";s:25:"package.getDepDownloadURL";}i:8;a:2:{s:7:"attribs";a:1:{s:7:"version";s:3:"1.0";}s:8:"_content";s:14:"package.search";}i:9;a:2:{s:7:"attribs";a:1:{s:7:"version";s:3:"1.0";}s:8:"_content";s:15:"channel.listAll";}}}s:4:"rest";a:1:{s:7:"baseurl";a:2:{i:0;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.0";}s:8:"_content";s:25:"http://pecl.php.net/rest/";}i:1;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.1";}s:8:"_content";s:25:"http://pecl.php.net/rest/";}}}}}s:15:"validatepackage";a:2:{s:8:"_content";s:19:"PEAR_Validator_PECL";s:7:"attribs";a:1:{s:7:"version";s:3:"1.0";}}s:13:"_lastmodified";s:31:"Thu, 03 Jan 2008 11:48:06 -0700";} |
|
| Back to top |
|
 |
amarshallinc
Joined: 28 Jun 2009 Posts: 1
|
Posted: Sun Jun 28, 2009 7:51 pm Post subject: |
|
|
Solution - OS Solaris 10 x86 and Apache v2.11
1. removed /usr/local/lib/php
2. Compiled and install PHP 5.2.9
3. pear channel-update pear.php.net
4. Compile and install PHP 5.2.10
Pear and PHP 5.2.10 should now be working without the protocol error. |
|
| Back to top |
|
 |
gneko
Joined: 16 Jul 2009 Posts: 1
|
Posted: Thu Jul 16, 2009 12:05 pm Post subject: Resolved! |
|
|
Hi everybody,
I had the same problem but I just resolved it.
Delete .channels directory and run "pear update-channels"
It worked for me. |
|
| Back to top |
|
 |
|