|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I'm new to Linux and PHP. I would like to take advantage of all of the available pre-made packages available for PHP via PEAR. Apparantly it is some sort of application that allows you download packages directly to your computer. Here is the site pear.php.net Does anyone have clear consise instructions on how to do so. The site is not very clear. Thank you. |
|
#2
|
|||
|
|||
|
If you are on windows you will need to download the cvs.exe program first:
http://ccvs.cvshome.org/servlets/Pr...wnload&dlID=239 If you are unix or linux you should have it already. After you download it, I suggest putting it in your %windir% or somewhere in your path. Get a dos prompt up, cd to the directory you want pear to be in (usually c:\php), then issue the following commands. Code:
cvs -d :pserver:cvsread@cvs.php.net:/repository login cvs -d :pserver:cvsread@cvs.php.net:/repository co pear If you are prompted for a password, just press enter, and ignore any errors.
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. Last edited by laidbak : March 28th, 2003 at 12:03 PM. |
|
#3
|
|||
|
|||
|
Okay,
I downloaded the zip file and upzipped to: C:\WINNT The path of the file is: C:\WINNT\cvs-1.11.5 Then I got a dos prompt and went to this directory C:\php First I typed in: cvs -d server:cvsread@cvs.php.net:/repository login And got the following error: 'CVS' is not recognized as an internal or external command, operable program or batch file. Then I tried just: server:cvsread@cvs.php.net:/repository login And got the following error The filename, directory name, or volume label syntax is incorrect. Is code for Windows or Linux? |
|
#4
|
|||
|
|||
|
You need the cvs.exe executable in your path.
if it is named C:\WINNT\cvs-1.11.5.exe rename it to C:\WINNT\cvs.exe |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Installing PEAR on Linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|