|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-09-01 22:37 UTC] cellog@php.net
[2003-09-03 00:59 UTC] cjbj at hotmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 13:00:01 2025 UTC |
Description: ------------ - I downloaded php-4.3.3-Win32.zip for Windows 2000 The go-pear.php in 4.3.3 is version 1.48. - I unzipped and moved to c:\Program Files\php-4.3.3-Win32 - I configured it and Apache 1.3.28 to run. I can access basic .php files e.g. a simple phpinfo() script - I opened a DOS window and changed directory to c:\Program Files\php-4.3.3-Win32 - I ran "go-pear.bat". Expected result: ---------------- Expected this to install PEAR, or to exit gracefully when the invalid path was detected. Actual result: -------------- The top of the screen shows: Welcome to go-pear! Go-pear will install the 'pear' command and all the files needed by it. This command is your tool for PEAR installation and maintenance. Go-pear also lets you download and install the PEAR packages bundled with PHP: DB, Net_Socket, Net_SMTP, Mail, XML_Parser, phpUnit. If you wish to abort, press Control-C now, or press Enter to continue: HTTP proxy (http://user:password@proxy.myhost.com:port), or Enter for none:: http://myvalidproxy.mydomain/ 'C:\Program' is not recognized as an internal or external command, operable program or batch file. PEAR does not appear to be configured. The result seems to be three new empty directories 'data', 'docs' and 'tests' in c:/Program Files/php-4.3.3-Win32/PEAR. - I then copied go-pear.php to an Apache-acccessible directory. - I filled in the form using the path c:\Program Files\php-4.3.3-Win32 for the installation prefix, and c:\program files\php-4.3.3-Win32\cli as the CLI path. - I clicked "install" - I expected this to work - I did get a useful (but annoying) message ERROR(S): Installation prefix: Spaces are not allowed in pathes. Please choose another path. php.exe path, optional (CLI command tools): Spaces are not allowed in pathes. Please choose another path. Spaces are valid in Windows file and directory names.