Jump to content

Recommended Posts

I dropped the go-pear.php file in my www directory and am using the web interface. I also tried it from a command line. I have pears all over the place but I keep getting the same error messages when I try to install it, here's what it says:

 

Bootstrapping Installer...................
Bootstrapping PEAR.php............(remote) ok
Bootstrapping Archive/Tar.php............(remote) ok
Bootstrapping Console/Getopt.php............(remote) ok

Extracting installer..................
Downloading package: PEAR.............ok
Downloading package: Structures_Graph....ok

Preparing installer..................
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date

Installing selected packages..................
Downloading and installing package: PEAR.............warning: pear/PEAR requires package "pear/Archive_Tar" (recommended version 1.3.2) warning: pear/PEAR requires package "pear/Structures_Graph" (recommended version 1.0.2) warning: pear/PEAR requires package "pear/Console_Getopt" (recommended version 1.2.3) pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0) downloading PEAR-1.7.2.tgz ... Starting to download PEAR-1.7.2.tgz (302,744 bytes) .....................................done: 302,744 bytes
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 98304 bytes) in C:\wamp\www\php\include\temp\PEAR\PackageFile\v2\Validator.php on line 1319

Warning: unlink(C:\wamp\www\php\include/temp\PEAR\PackageFile\v2\Validator.php) [function.unlink]: Permission denied in C:\wamp\www\go-pear\Go-pear.php on line 1229

Warning: rmdir(C:\wamp\www\php\include/temp\PEAR\PackageFile\v2) [function.rmdir]: Directory not empty in C:\wamp\www\go-pear\Go-pear.php on line 1236

Warning: rmdir(C:\wamp\www\php\include/temp\PEAR\PackageFile) [function.rmdir]: Directory not empty in C:\wamp\www\go-pear\Go-pear.php on line 1236

Warning: rmdir(C:\wamp\www\php\include/temp\PEAR) [function.rmdir]: Directory not empty in C:\wamp\www\go-pear\Go-pear.php on line 1236

Warning: rmdir(C:\wamp\www\php\include/temp) [function.rmdir]: Directory not empty in C:\wamp\www\go-pear\Go-pear.php on line 1236

 

Does the directory  I've specified (C:\wamp\www\php\include) seem right? thanks

Link to comment
https://forums.phpfreaks.com/topic/111031-pear-installation-error/
Share on other sites

It ran out of memory first of all...

 

Allowed memory size of 8388608 bytes exhausted

 

And the other errors stem from it not being able to delete the file C:\wamp\www\php\include/temp\PEAR\PackageFile\v2\Validator.php

 

Warning: unlink(C:\wamp\www\php\include/temp\PEAR\PackageFile\v2\Validator.php) [function.unlink]: Permission denied
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.