RE: [PEAR] question

From: Date: Mon, 19 Apr 2004 08:03:27 +0000
Subject: RE: [PEAR] question
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11948@lists.php.net to get a copy of this message
Thank you for your answer. As you told me I have downloaded the file at http://go-pear.php stored it in the dir '%EasyPhp_HOME%/www/'and I have launched it with the url: http://my_server_name:my_server_port/go-pear.php and after filling the fields in the web page I had the following error at the begining og PEAR package download: Error Downloading package: PEAR............. Warning: fsockopen(): php_network_getaddresses: gethostbyname failed in c:\easyphp1-7\www\go-pear.php on line 910 Warning: fsockopen(): unable to connect to pear.php.net:80 in c:\easyphp1-7\www\go-pear.php on line 910 download of http://pear.php.net/get/PEAR failed: Opération réussie. (0) Warning: opendir(C:\Temp/gop1F.tmp): failed to open dir: Invalid argument in c:\easyphp1-7\www\go-pear.php on line 1075 Warning: readdir(): supplied argument is not a valid Directory resource in c:\easyphp1-7\www\go-pear.php on line 1076 Warning: closedir(): supplied argument is not a valid Directory resource in c:\easyphp1-7\www\go-pear.php on line 1087 Warning: rmdir(C:\Temp/gop1F.tmp): No such file or directory in c:\easyphp1-7\www\go-pear.php on line 1088 Do you know what is happening? Thank you for your answer. Regards, Patrick TISSOT -----Message d'origine----- De : Stefan Neufeind [mailto:stefan@neufeind.net] Envoyé : vendredi 16 avril 2004 23:12 À : pear-general@lists.php.net; Jean-Charles Gibier Cc : TISSOT Patrick Objet : Re: [PEAR] question On 15 Apr 2004 at 23:13, Jean-Charles Gibier wrote: > ----- Original Message ----- > From: "TISSOT Patrick" <patrick.tissot@airbus.com> > To: <pear-general@lists.php.net> > Sent: Tuesday, April 13, 2004 12:04 PM > Subject: [PEAR] question > > > : > hello, > : > > : > I am using EasyPHP 1.7 on windows in order to run php. > : > > : > As I want to include PEAR scripts in my PHP program, I would like to > : > know: > : > > : > 1. Is PEAR already installed with EasyPHP 1.7? > : > 2. If no, how do I activate or install the PEAR functionality? > : > 3. How do I install a PEAR script that I have downloaded from > : > 'pear.php.net' > > EasyPHP doesn't come with Pear. You have to install your own PEAR root > directory that must be accessible through the path you specify in php.ini > file (whith auto_prepend_file command or include_path, you can also redirect > includes via the .htaccess since EasyPHP uses Apache server). > But I think the better way to get your answer is to ask your question in the > EasyPHP forum (easyphp.org). Though I have neither heard of nor yet worked with EasyPHP, I guess running the normal go-pear-installer should be easily possible. Are you running this "easyphp" on Windows? And do you have a console? If yes, simply grab the script you find at http://go-pear.org/ and try to run it with "php -q go-pear.php" from command-line. Should allow you to do an easy PEAR install. Once you installed, you will need to include the PEAR path into your include-path (shouldn't be a problem, in php.ini, htaccess or wherever) and use the PEAR installer to install your packages. If you still experience problems with the install mentioned above, could you maybe give us some furhter details about your setup? Good luck, Stefan This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message.

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