phpdoc with PHP5.2.0 default install directory in Windows
| From: | Shin Ohno | Date: | Tue, 14 Nov 2006 19:48:49 +0000 |
| Subject: | phpdoc with PHP5.2.0 default install directory in Windows | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-25827@lists.php.net to get a copy of this message | ||
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..
--
Shin