RE: [PEAR] How to install a local copy of PEAR and after use it ina Hosting Service

From: Date: Sat, 17 Dec 2005 19:39:06 +0000
Subject: RE: [PEAR] How to install a local copy of PEAR and after use it ina Hosting Service
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22293@lists.php.net to get a copy of this message
Hi: Finally I have PEAR installed on my PC. I use a new go-pear.phar file download from the PEAR site as Greg say me. Now I have a problem and a question. The problem is that when I try this: --------------------------------------------------- D:\WebServer\WWW\simpro\includes>pear list-all --------------------------------------------------- I got this message error: --------------------------------------------------- Connection to `pear.php.net:80' failed: A connection attempt fai connected party did not properly respond after a period of time, connection failed because connected host has failed to respond. --------------------------------------------------- How or where I can setup a proxy conection? The question is: When I move my site to a hosting server? I can't any problem with using my local PEAR? They create this pear.ini file --------------------------------------------------- #PEAR_Config 0.9 a:8:{s:15:"preferred_state";s:6:"stable";s:7:"bin_dir";s:32:"D:\WebServer\WWW\simpro\includes";s:7:"php_dir";s:37:"D:\WebServer\WWW\simpro\includes\pear";s:7:"doc_dir";s:42:"D:\WebServer\WWW\simpro\includes\pear\docs";s:8:"data_dir";s:42:"D:\WebServer\WWW\simpro\includes\pear\data";s:8:"test_dir";s:43:"D:\WebServer\WWW\simpro\includes\pear\tests";s:7:"php_bin";s:26:"D:\WebServer\PHP\.\php.exe";s:10:"__channels";a:2:{s:12:"pecl.php.net";a:0:{}s:5:"__uri";a:0:{}}} --------------------------------------------------- And other question more: If I have already downloaded the DB.tar.gz package how I can install it directly from my PC?' Best, ReynierPM Usuario registrado de Linux: #310201 ********************************************************* No basta con alcanzar la sabiduría, es necesario saber utilizarla. -----Original Message----- From: Greg Beaver [mailto:cellog@php.net] Sent: Tuesday, December 13, 2005 6:16 PM To: Norbert Mocsnik Cc: Reynier Perez Mira; pear-general@lists.php.net Subject: Re: [PEAR] How to install a local copy of PEAR and after use it ina Hosting Service Norbert Mocsnik wrote: > Reynier Perez Mira wrote: >> Fatal error: PEAR_Installer_Role::require_once(): Failed opening >> required 'PEAR/ Installer/Role/Php.php' >> (include_path='.;C:\php5\pear') in phar://go-pear.phar/P >> EAR/Installer/Role.php on line 80 Press any key to continue . . . >> --------------------------------------------------------------------- >> -------------- >> >> I think that maybe this have something to see with proxy >> configuration, ¿no? > > > This doesn't look like a proxy error. > > Hopefully some expert will join the discussion and give you some ideas > what this might be. This is a known bug in go-pear.phar distributed with PHP 5.1.1 and 5.1.0 download http://pear.php.net/go-pear.phar and replace your existing one with it, this will fix the problem. Greg

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