Re: phpdoc with PHP5.2.0 default install directory in Windows

From: Date: Wed, 15 Nov 2006 09:07:07 +0000
Subject: Re: phpdoc with PHP5.2.0 default install directory in Windows
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25833@lists.php.net to get a copy of this message
Hi, Greg. Here is the result of my pear config-show. When I ran php-5.2.0-win32-installer.msi, I installed it with [Extensionts-Curl], and [Extras-PEAR Install]. Beside that all I did is clicking Next button. So, I believe this is the default of pear config-show result. C:\Program Files\PHP>pear config-show CONFIGURATION (CHANNEL PEAR.PHP.NET): =====================================
Auto-discover new Channels     auto_discover    <not set>
Default Channel                default_channel  pear.php.net
HTTP Proxy Server Address      http_proxy       <not set>
PEAR server [DEPRECATED]       master_server    pear.php.net
Default Channel Mirror         preferred_mirror pear.php.net
Remote Configuration File      remote_config    <not set>
PEAR executables directory     bin_dir          C:\Program Files\PHP
PEAR documentation directory   doc_dir          C:\Program Files\PHP\pear\docs
PHP extension directory        ext_dir          C:\Program Files\PHP\ext
PEAR directory                 php_dir          C:\Program Files\PHP\pear
PEAR Installer cache directory cache_dir        C:\DOCUME~1\shin\LOCALS~1\Temp\p
ear\cache
PEAR data directory            data_dir         C:\Program Files\PHP\pear\data
PEAR Installer download        download_dir     C:\DOCUME~1\shin\LOCALS~1\Temp\p
ear\cache directory
PHP CLI/CGI binary             php_bin          C:\Program Files\PHP\.\php.exe
PEAR Installer temp directory  temp_dir         C:\DOCUME~1\shin\LOCALS~1\Temp\p
ear\temp
PEAR test directory            test_dir         C:\Program Files\PHP\pear\tests
Cache TimeToLive               cache_ttl        3600
Preferred Package State        preferred_state  stable
Unix file mask                 umask            0
Debug Log Level                verbose          1
PEAR password (for             password         <not set>
maintainers)
Signature Handling Program     sig_bin          c:\gnupg\gpg.exe
Signature Key Directory        sig_keydir       C:\WINDOWS\pearkeys
Signature Key Id               sig_keyid        <not set>
Package Signature Type         sig_type         gpg
PEAR username (for             username         <not set>
maintainers)
User Configuration File        Filename         C:\WINDOWS\pear.ini
System Configuration File      Filename         C:\WINDOWS\pearsys.ini
Thanks, On 11/15/06, Gregory Beaver <greg@chiaraquartet.net> wrote:
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
-- Shin

« previous php.pear.general (#25833) next »