For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > December 2005 > RE: [PEAR] How to install a local copy of PEAR and after use it ina Hosting Service









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

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

2005-12-17, 6:59 pm

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.=20
---------------------------------------------------
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\include=
s\pear";s:7:"doc_dir";s:42:" D:\WebServer\WWW\simpro\includes\pear\do
cs";s=
:8:"data_dir";s:42:" D:\WebServer\WWW\simpro\includes\pear\da
ta";s:8:"test=
_dir";s:43:" D:\WebServer\WWW\simpro\includes\pear\te
sts";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=EDa, es necesario saber utilizarla.=20
-----Original Message-----
From: Greg Beaver [mailto:cellog@php.net]=20
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:
>=20
>=20
> This doesn't look like a proxy error.
>=20
> 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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com