Re: Could you post full installation instructions for Windows?
| From: | Stefano F. Rausch | Date: | Sun, 30 Oct 2005 19:37:10 +0000 |
| Subject: | Re: Could you post full installation instructions for Windows? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21707@lists.php.net to get a copy of this message | ||
On Sat, 29 Oct 2005 04:28:22 +0200, Karyn Aliyahia <karyyyn@gmail.com> wrote:
Could you please post full instructions (for dummies) on how to install PEAR on Windows? Your answer to the question below is not explicit enough. Please give instructions from Download to Final Testing of the installation.. Thanks! ----------------------------------------------- Question posted on your site: Does PEAR work on windows? To make PEAR work on Windows, you simple need to add the PEAR installation dir (e.g. c:\php\pear) to the include_path directive in your php.ini.If I've missed the response: I suggest that you follow the instruction of http://go-pear.org: # Installation: Windows # # On Windows, go-pear uses stdin for user input, so you must download # go-pear first and then run it: # # Note: In PHP 4.2.0-4.2.3, the PHP CLI binary is named php-cli.exe while since # PHP 4.3.0, it's simply named php.exe in the cli/ folder of your PHP directory. # The CGI is also named php.exe but it sits directly in your PHP directory. # # > cli/php -r "readfile('http://pear.php.net/go-pear');" > go-pear # > cli/php go-pear # # In PHP 5.0.0, the PHP CLI binary is php.exe # # > php -r "readfile('http://pear.php.net/go-pear');" > go-pear # > php go-pear # # Installation: Notes # # - If using the CGI version of PHP, append the -q option to suppress # headers in the output. # - By default, go-pear will install a system-wide configuration file. For # a local install use: # > php go-pear local # # - Once the go-pear script is initiated, you will see instructions on # how to continue installing PEAR. The first thing you should see is: # # Welcome to go-pear! That's it! With this steps you avoid to having install first old versions of PEAR and the dependencies. Good luck. -- Stefano