Re: installing HTTP_Request
| From: | Bennett Haselton | Date: | Wed, 05 Dec 2007 05:42:08 +0000 |
| Subject: | Re: installing HTTP_Request | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-28270@lists.php.net to get a copy of this message | ||
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 Usage: pear [options] command [command-options] <parameters> Type "pear help options" to list all options. Type "pear help <command>" to get the help for the specified command. Commands:
build Build an Extension From C Source bundle Unpacks a Pecl Package clear-cache Clear XML-RPC Cache config-get Show One Setting config-help Show Information About Setting config-set Change Setting config-show Show All Settings cvsdiff Run a "cvs diff" for all files in a package cvstag Set CVS Release Tag download Download Package download-all Downloads each avaible Package from master_server info Display information about a package install Install Package list List Installed Packages list-all List All Packages list-upgrades List Available Upgrades login Connects and authenticates to remote server logout Logs out from the remote server makerpm Builds an RPM spec file from a PEAR package package Build Packagepackage-dependencies Show package dependencies
package-validate Validate Package Consistency remote-info Information About Remote Packages remote-list List Remote Packages run-tests Run Regression Tests search Search remote package database shell-test Shell Script Test sign Sign a package distribution file uninstall Un-install Package upgrade Upgrade Package upgrade-all Upgrade All Packages
-Bennett