Re: installing HTTP_Request

From: Date: Wed, 05 Dec 2007 06:11:06 +0000
Subject: Re: installing HTTP_Request
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28272@lists.php.net to get a copy of this message
At 11:56 PM 12/4/2007 -0600, Gregory Beaver wrote:
Bennett Haselton wrote: At 06:36 AM 12/5/2007 +0100, Christian Weiske wrote:
1c57afbf.jpg Re [PEAR] installing HTTP_Requ.ems<file://c:\eudora\attach\Re [PEAR] installing>>
HTTP_Requ.ems <0880.0002>>
Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable *** PGP Signature Status: unknown *** Signer: Unknown, Key ID = 0x24EAF823 *** Signed: 12/4/2007 9:36:39 PM *** Verified: 12/4/2007 9:38:51 PM *** BEGIN PGP VERIFIED MESSAGE *** Hello Bennett,
First, all I'm trying to do in a PHP script is check whether a
remote
URL exists or not (gives 404). I'm under the impression that installing HTTP_Request is the easiest way to do this; am I right so far?
Yes.
Now, I'm getting problems trying to install it. My machine has CentOS 4.5 and PHP 4.3.9. I'm getting this error when trying to install HTTP_Request:
Which version of PEAR do you use? $ pear version Try to upgrade to the latest version (1.6.2) and see if it helps.
That command didn't work for me (output below). How do I get the version number? [root@D2585 ~]# pear version try pear -V
That worked. I have version 1.3.2. So, I tried to upgrade. But when I did that, I got the same error I got when I tried to install the HTTP_Request module: [root@D2585 ~]# pear -V PEAR Version: 1.3.2 PHP Version: 4.3.9 Zend Engine Version: 1.3.0 Running on: Linux D2585.servadmin.com 2.6.9-42.ELsmp #1 SMP Sat Aug 12 09:39:11 CDT 2006 i686 [root@D2585 ~]# pear upgrade PEAR Notice: Undefined index: st in RPC.php on line 292 downloading PEAR-1.6.2 ... Starting to download PEAR-1.6.2 (-1 bytes) ...done: 0 bytes could not extract the package.xml file
bennett@peacefire.org     http://www.peacefire.org
(425) 497 9002

« previous php.pear.general (#28272) next »