Jump to content
The Uniform Server Community
KaioDesigns

PHP Pear

Recommended Posts

I am trying to install PHP Pear via the web interface. I keep getting the following error at 70%:

 

Starting installation ...

Loading zlib: ok

Downloading package: PEAR.............ok

Downloading package: Archive_Tar......ok

Downloading package: Console_Getopt....ok

Downloading package: XML_RPC..........ok

Downloading package: Pager............ok

Downloading package: HTML_Template_IT....ok

Downloading package: Net_UserAgent_Detect....ok

Downloading package: PEAR_Frontend_Web....ok

Bootstrapping: PEAR...................(remote) ok

Bootstrapping: Archive_Tar............(remote) ok

Bootstrapping: Console_Getopt.........(remote) ok

Downloading package: DB...............ok

Downloading package: Net_Socket.......ok

Downloading package: Net_SMTP.........ok

Downloading package: Mail.............ok

Downloading package: XML_Parser.......ok

Downloading package: phpUnit..........ok

Extracting installer..................ok

Fatal error: Call to undefined function: staticpusherrorhandling() in C:\DOCUME~1\(Account name)\LOCALS~1\Temp\gop5B.tmp\PEAR\Downloader.php on line 257

 

Can you please help me install this feature?

 

Thanks in advance

Share this post


Link to post
Share on other sites

It seems like the problem is from the file. What file are you using? You are suppose to be using the go_pear.php file... :D

 

I have attched it to this post... use this file to install PEAR :)

 

[EDIT]

 

I have removed the file :)

Edited by olajideolaolorun

Share this post


Link to post
Share on other sites

I used the link on the plugins page.

 

Below is the text included in the configuration page. Please tell me what I should be putting in. What I inserted in the text boxes is in bold.

 

Configuration

 

HTTP proxy (host:port): Left empty

 

 

--------------------------------------------------------------------------------

 

Below is a suggested file layout for your new PEAR installation.

 

Note: Make sure that PHP has the permission to access the specified

directories.

 

 

1. Installation prefix W:/usr/local/Php

2. Binaries directory $prefix

3. PHP code directory ($php_dir) $prefix\PEAR

4. Documentation base directory $php_dir\docs

5. Data base directory $php_dir\data

6. Tests base directory $php_dir\tests

7. PEAR Installer cache directory $php_dir\cache

8. Cache TimeToLive 300

9. Filename of WebFrontend $prefix\index.php

10. php.exe path, optional (CLI command tools) W:\home\admin\WWW\plugins\PHP-pear\

Share this post


Link to post
Share on other sites

Just test it blank and if it doesn't work, reply and i will test it to see what you have to do :)

 

Try localhost:80 also if it doesn't work :)

 

You also can't set permissions on Windows so no need for that :D

 

Thanks

Share this post


Link to post
Share on other sites

Sadly that didn't work either. It wouldn't let me leave the fields blank and if I tried to use localhost:80 in the top I get this series of errors:

 

Installation in progress ...

 

70 %

 

100 % Downloading PHPUnit ...

 

 

 

 

Starting installation ...

Loading zlib: ok

Downloading package: PEAR.............ok

Downloading package: Archive_Tar......ok

Downloading package: Console_Getopt....ok

Downloading package: XML_RPC..........ok

Downloading package: Pager............ok

Downloading package: HTML_Template_IT....ok

Downloading package: Net_UserAgent_Detect....ok

Downloading package: PEAR_Frontend_Web....ok

Bootstrapping: PEAR...................(remote)

 

 

 

 

Not Found

 

 

The requested URL /co.php/php-src/pear/PEAR.php was not found on this server.

 

 

 

--------------------------------------------------------------------------------

 

 

Apache/2.0.50 (Win32) PHP/5.0.0 Server at cvs.php.net Port 80

 

 

ok

Bootstrapping: Archive_Tar............(remote) ok

Bootstrapping: Console_Getopt.........(remote) ok

Downloading package: DB...............ok

Downloading package: Net_Socket.......ok

Downloading package: Net_SMTP.........ok

Downloading package: Mail.............ok

Downloading package: XML_Parser.......ok

Downloading package: PHPUnit..........ok

 

Fatal error: Class 'PEAR' not found in W:\home\admin\WWW\plugins\PHP-pear\Uni_go-pear.php on line 681

Share this post


Link to post
Share on other sites

No Problem, but i may not be able to do it until this weekend when i get home. :D Where i am now, they use modem so i will be tieing up the phone line. :)

Share this post


Link to post
Share on other sites

I'm having the same problem... I can't figure it out. One interesting thing is that my error says: "Fatal error: Call to undefined method PEAR::staticpusherrorhandling() in C:\Documents and Settings\Anthony\Local Settings\Temp\gop12D.tmp\PEAR\Downloader.php on line 271" instead of line 258 as reported in the first post. Most of the things I've read about the problem have line 258, and they seem to be about directories/permissions.

Share this post


Link to post
Share on other sites

Problem Solved Boys and Girls.

 

After hours of investigation I found out that the version of go-pear installed with Uniform Server is out dated and that is a glitch. The version included is 0.2.2.

 

If you go to http://go-pear.org you can view the newest version of pear. You simiply have to copy the contents of the page into your Uni_go-pear.php file and then try to do the upgrade again. It worked for me.

 

Thanks for all the help Olajid!! You guys are great.

Share this post


Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Loading...

×
×
  • Create New...