Re: How to install a local copy of PEAR and after use it in a Hosting Service
| From: | Norbert Mocsnik | Date: | Tue, 13 Dec 2005 17:21:05 +0000 |
| Subject: | Re: How to install a local copy of PEAR and after use it in a Hosting Service | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22239@lists.php.net to get a copy of this message | ||
Reynier Perez Mira wrote:
Well: I read line by line this: http://pear.php.net/manual/en/installation.getting.php and say this: Quote: After you have downloaded and installed PHP, you have to manually execute the batch file located in e.g. c:\php\go-pear.bat. The setup will ask you some questions and afterwards the PEAR Package Manager will be installed in the path, which you have specific during installation. Finally you have to add that installation path to your PATH environment. Either do this manually (Start > Control Panel > System > Environment) or run (double-click) the newly generated PEAR_ENV.reg that's now found in the PHP source directory. After that you can access the PEAR Package Manager by running the command pear in a Windows Command Prompt. After do it, I not need to configure some pear-config.ini?After you do it, you will have the "pear" command on your system. (This additionally installs a system-wide PEAR that you don't want to use, because you will create a PEAR installation locally for each project, so you can simply use FTP to transfer it to your shared host with the projects' files.) Now that you have the "pear" command, you can follow the steps in my blog. P.S. You could also use the system-wide PEAR installation directly but having seperate local installations pays off in the long run (this way you can have different packages installed for different projects and you can upgrade them in the future seperately in a very easy way). -- Norbert Mocsnik http://norbert.mocsnik.hu/