From: Thomas Anderson on
I'm trying to do a local install of PEAR to c:\dev\php\pear and am
having some difficulty. In particular, when prompted for the file
layout of my new installation, most everything is correct in that it
points to "c:\dev\php\pear" save for option # 12 - "Path to CLI
php.exe". That one points to "c:\php". I try to change it to
"c:\dev\php\pear" but every time I do I get the following error:

12. Path to CLI php.exe : c:\php5

1-12, 'all' or Enter to continue: 12
**ERROR**: not a folder, or no php.exe found in this folder.
Press Enter to continue...

How on earth can the PEAR installer say that there's no php.exe in the
target folder when it hasn't even let me define a target folder?
From: Thomas Anderson on
I'm able to change # 12 if I type in "all" but I can't change it
individually, which is strange. Also, when I hit Enter to accept the
locations, I'm presented with the same prompt, asking if I want to
accept the locations or change them. In other words, the PEAR
installer isn't actually letting me accept any of the locations.

On Tue, Jan 5, 2010 at 2:52 PM, Thomas Anderson <zelnaga(a)gmail.com> wrote:
> I'm trying to do a local install of PEAR to c:\dev\php\pear and am
> having some difficulty.  In particular, when prompted for the file
> layout of my new installation, most everything is correct in that it
> points to "c:\dev\php\pear" save for option # 12 - "Path to CLI
> php.exe".  That one points to "c:\php".  I try to change it to
> "c:\dev\php\pear" but every time I do I get the following error:
>
> 12. Path to CLI php.exe                           : c:\php5
>
> 1-12, 'all' or Enter to continue: 12
> **ERROR**: not a folder, or no php.exe found in this folder.
> Press Enter to continue...
>
> How on earth can the PEAR installer say that there's no php.exe in the
> target folder when it hasn't even let me define a target folder?
>
From: Michael Gauthier on
Thomas Anderson <zelnaga <at> gmail.com> writes:

>
> I'm able to change # 12 if I type in "all" but I can't change it
> individually, which is strange. Also, when I hit Enter to accept the
> locations, I'm presented with the same prompt, asking if I want to
> accept the locations or change them. In other words, the PEAR
> installer isn't actually letting me accept any of the locations.
>

Hi Thomas,

I tried this out in a VM and can confirm it's not working properly. There seems
to be a problem with the part of go-pear.bat that calls out to a graphical
folder selector when you select a config option. The 'all' option doesn't use
the graphical selector so it works fine.

I was not able to reproduce your second problem where the pear installer fails
to accept the options and prompts you again.


Regards,


Mike


> On Tue, Jan 5, 2010 at 2:52 PM, Thomas Anderson <zelnaga <at> gmail.com>
wrote:
> > I'm trying to do a local install of PEAR to c:\dev\php\pear and am
> > having some difficulty.  In particular, when prompted for the file
> > layout of my new installation, most everything is correct in that it
> > points to "c:\dev\php\pear" save for option # 12 - "Path to CLI
> > php.exe".  That one points to "c:\php".  I try to change it to
> > "c:\dev\php\pear" but every time I do I get the following error:
> >
> > 12. Path to CLI php.exe                           : c:\php5
> >
> > 1-12, 'all' or Enter to continue: 12
> > **ERROR**: not a folder, or no php.exe found in this folder.
> > Press Enter to continue...
> >
> > How on earth can the PEAR installer say that there's no php.exe in the
> > target folder when it hasn't even let me define a target folder?
> >
>