I have PHP version 4.3.0 that did not come packaged with PEAR and I would like to download it. I found a script to install PEAR from the PHP Group. The instructions read as follows:
On Windows as of PHP 4.3.0 you can launch go-pear like this:
> cli\php -n -r "include 'http://go-pear.org';"
What I don´t understand is where I launch this from, from the MS Dos prompt? or do execute PHP.exe and run it from that window?
Any specific details would be greatly appreciated
thanks
Jim
installing pear on windows
Moderator: General Moderators
yes, open a dos-box and run the command.
it needs a php-version that supports the CLI interface. The package installed on your system might contain a program php-cli.exe, use it if available. If not try php -v for the available php-executables as it will tell which interface is supported, e.g.
c:\programme\php431\php-cli.exe -n -r "include 'http://go-pear.org';"
it needs a php-version that supports the CLI interface. The package installed on your system might contain a program php-cli.exe, use it if available. If not try php -v for the available php-executables as it will tell which interface is supported, e.g.
So for my system (if php-cli.exe wouldn't be in PATH) the command isPHP 4.3.1 (cli) (built: Feb 15 2003 23:07:00)
Copyright (c) 1997-2002 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
c:\programme\php431\php-cli.exe -n -r "include 'http://go-pear.org';"