Re: Problem with PEAR and open_basedir

From: Date: Thu, 19 May 2005 15:00:39 +0000
Subject: Re: Problem with PEAR and open_basedir
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19281@lists.php.net to get a copy of this message
Marko wrote:
Hi, I tried to secure my PHP with the open_basedir option in the php.ini. My scripts work fine with a limited access to certain directories (including the call "pear list"), but unfortunately I get an error when I want to update pear (using "pear upgrade") which looks like this: ---
pear upgrade-all
Warning: fsockopen(): unable to connect to pear.php.net:80 in RPC.php on line 464 xml_rpc_client: Connection to RPC server pear.php.net failed --- Looks like fsockopen needs access to a directory outside of the pear path.
Actually, it looks like fsockopen() is unable to connect to pear.php.net. Do you have a proxy? Check to make sure that it is possible to connect to pear.php.net in another test script. Greg

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