For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > October 2005 > Re: [PEAR] Could you post full installation instructions for Windows?









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] Could you post full installation instructions for Windows?
Stefano F. Rausch

2005-10-30, 6:59 pm

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
Sponsored Links







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

Copyright 2008 codecomments.com