|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Installing PEAR
Hi,
I am pretty new to PHP development so bear with me if I ramble on. I read about PEAR and I thought it would be a good idea to install it in my local machine. I went to my PHP folder (located in C:\Program Files) but it did not have the go-pear.php script in it. I therefore downloaded go-pear.php from pear's website. I downloaded to my htdocs folder as I thought it might be easier to load the file on my browser and follow the steps from there. I did not change any of the configuration settings and hit next. This was the message I got: Starting installation ... mkdir failed: Loading zlib: ok Downloading package: PEAR-stable......ok Downloading package: Archive_Tar-stable....ok Downloading package: Console_Getopt-stable....ok Downloading package: Structures_Graph-stable....ok Downloading package: HTML_Template_IT-stable....ok Downloading package: Net_UserAgent_Detect-stable....ok Downloading package: PEAR_Frontend_Web-beta....ok Bootstrapping: PEAR...................(remote) ok Bootstrapping: Archive_Tar............(remote) ok Bootstrapping: Console_Getopt.........(remote) ok Downloading package: MDB2.............ok Extracting installer.................. Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\pear\Archive\Tar.php on line 21 Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\pear/temp/C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\pear\temp\gop8C1A.tmp' ) in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\pear\Archive\Tar.php on line 21 I checked the pear folder that was created. PEAR.php is located in the pear folder but not within the Archive folder. Should I modify Tar.php so that it grabs PEAR.php from the correct location? Is there any other solution to this? Thanks |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > Installing PEAR |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|