Re: phpdoc with PHP5.2.0 default install directory in Windows
| From: | Gregory Beaver | Date: | Wed, 15 Nov 2006 05:21:45 +0000 |
| Subject: | Re: phpdoc with PHP5.2.0 default install directory in Windows | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25832@lists.php.net to get a copy of this message | ||
Shin Ohno wrote:
> Hi,
>
> I was testing phpdoc with PHP5.2.0 in Windows, and found a problem.
> In PHP5.2.0 installer, the defualt install directory is C:\Program
> Files\PHP,
> and if php is installed in default directory, phpdoc.bat needed to be
> fixed.
>
> If I try to run phpdoc, then it stuck with the space between "Program"
> and "Files",
> and phpdoc.bat cannot find the php.exe.
> --
> Starting: ""C:\Program Files\PHP\.\php.exe"" "C:\Program
> Files\PHP\phpdoc" -c "p
> hpDocumentor.ini"
>
> '""C:\Program' ....
>
>
> After I removed the double-quotation of the phpCli value, it works fine.
> --
> Starting: "C:\Program Files\PHP\.\php.exe" "C:\Program
> Files\PHP\phpdoc" -c "phpDocumentor.ini"
>
> PHP Version 5.2.0
> phpDocumentor version 1.3.1
>
> I've tried to install in C:\PHP, and it works.
> --
> Starting: ""C:\PHP\.\php.exe"" "C:\PHP\phpdoc" -c
> "phpDocumentor.ini"
>
> PHP Version 5.2.0
> phpDocumentor version 1.3.1
> --
>
> I know this is a problem with the default install directory, and I
> also know that
> the default install directory was changed in PHP5.2.0. It used to be
> installed in
> C:\PHP. Hmm..
This may actually be a real problem with the .msi. Could you show the
output of pear config-show?
If any of the directories contain " (quotation marks) in them, this is
causing the problem, and is an issue.
Thanks,
Greg