Re: Install on Windows
| From: | Pierre-Alain Joye | Date: | Tue, 29 Apr 2003 21:55:43 +0000 |
| Subject: | Re: Install on Windows | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5129@lists.php.net to get a copy of this message | ||
On Tue, 29 Apr 2003 17:36:29 -0400
"David Botham" <php@botham.net> wrote:
> I am pretty new to php/pear and quite sorry this is so long. I
> appreciate any help y'all might be able to give me. I can't wait to
> do the old forehead slap when you point out my mistake.
> PHP 4.3.1 zip package
It should work if you always use the C: drive. Can you try php-4.3.2RC2
(http://qa.php.net)? It contains the latest PEAR (1.1) which is not
available by using go-pear.php alone.
Which windows do you use?
> That is to say, I have exploded the zip package into c:\phpbin4.3.x,
> and added that directory to my path env var.
Nice :)
> ** The 'pear' command is not currently in your PATH, so you need to
> ** use 'C:\phpbin4.3.x\pear' until you have added
> ** 'C:\phpbin4.3.x' to your PATH environment variable.
> Run it without parameters to see the available actions, try 'pear
> list' to see what packages are installed, or 'pear help' for help.
>
> For more information about PEAR, see:
>
> http://pear.php.net/faq.php
>
> http://cvs.php.net/co.php/pearweb/doc/pear_package_manager.txt?p=1
> http://pear.php.net/manual/
>
> Thanks for using go-pear!
>
>
>
> * WINDOWS ENVIRONMENT VARIABLES *
> For convenience, a REG file is available under
> C:\phpbin4.3.x\PEAR_ENV.reg .
> This file creates ENV variables for the current user.
> I don't know if it is important, but, the php bin directory is on the
> path:
Weird, it does not find it 'pear.bat', it seems it found an old pear.bat
in
> C:\>php -help
> Error in argument 1, char 5: option not found p
> Error in argument 1, char 5: option not found p
> Error in argument 1, char 5: option not found p
> Usage: php [-q] [-h] [-s [-v] [-i] [-f <file>]
> php <file> [args...]
> -a Run interactively
> -b <address:port>|<port> Bind Path for external FASTCGI Server mode
> -C Do not chdir to the script's directory
> -c <path>|<file> Look for php.ini file in this directory
> -n No php.ini file will be used
> -d foo[=bar] Define INI entry foo with value 'bar'
> -e Generate extended information for debugger/profiler
> -f <file> Parse <file>. Implies `-q'
> -h This help
> -i PHP information
> -l Syntax check only (lint)
> -m Show compiled in modules
> -q Quiet-mode. Suppress HTTP Header output.
> -s Display colour syntax highlighted source.
> -v Version number
> -w Display source with stripped comments and
> whitespace.-z <file> Load Zend extension <file>.
>
> If pear is there, then it does not run:
>
> C:\>pear
> 'pear' is not recognized as an internal or external command,
> operable program or batch file.
> I did double clicked the reg entry to add the env vars before I ran
> the above commands.
>
>
> Here is the output of a dir command on the php bin directory:
>
> C:\phpbin4.3.x>dir
> Volume in drive C has no label.
> Volume Serial Number is DC5E-C469
>
> Directory of C:\phpbin4.3.x
>
> 04/29/2003 04:37 PM <DIR> .
> 04/29/2003 04:37 PM <DIR> ..
> 04/29/2003 04:37 PM 9,675 .tmppear
.tmppear must have been removed by go-pear, I'll try to fix.
> 04/29/2003 04:37 PM <DIR> pear
> 04/29/2003 04:37 PM 1,262 pear.bat_old
> I know this has been really long, but, I contribute to the DNS and
> BIND mailing list quite a bit and get annoyed with people who think
> mind reading is a common trait among people in the computer industry.
> I thought completeness might be helpful...
It is helpful :)
A good test is to use the RC2, many bugfixes were done in PEAR itself
and not in the setup script.
pierre