HowTo: Pear + Windows install

From: Date: Fri, 31 Jan 2003 03:23:21 +0000
Subject: HowTo: Pear + Windows install
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3533@lists.php.net to get a copy of this message
Tip for Quick Windows installations of Pear: In the 4.3 PHP distribution, there is the PHP client. Running the php.exe client alone in the CLI directory will result in error so you need to have php4ts.dll in the system path, or just put it in the same CLI directory. When you unrar the distribution, php4ts.dll will be located in the C:\Php root directory so make a copy of it and store it in the CLI directory. Go to the CLI directory and type in the following: php -n -r "include 'http://go-pear.org';" as directed and just answer with the defaults. Upon execution, the pear installer will download to the C:\Php\pear directory all the pear packages with directory structure intact. Hope this saves someone some time. - Kerry P.S. Would have been nice to see the command above in the pear documentation. I spent way too much time on such a simple thing. In the manual, it says the Pear base is already installed on the system. This is not true under the Windows distribution as it is placed in RAR format in the packages directory. The first thing I wanted to do was just create a pear directory and Unrar all the packages in it.... well that would defeat the purpose of the installer and who knows if it would be installed correctly. Since there were no instructions on how to go about installing these packages in the documentation, one is sort of left hanging.... please change this.

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