March 21, 200520 yr comment_237 I am trying to install PHP Pear via the web interface. I keep getting the following error at 70%: Starting installation ...Loading zlib: okDownloading package: PEAR.............okDownloading package: Archive_Tar......okDownloading package: Console_Getopt....okDownloading package: XML_RPC..........okDownloading package: Pager............okDownloading package: HTML_Template_IT....okDownloading package: Net_UserAgent_Detect....okDownloading package: PEAR_Frontend_Web....okBootstrapping: PEAR...................(remote) okBootstrapping: Archive_Tar............(remote) okBootstrapping: Console_Getopt.........(remote) okDownloading package: DB...............okDownloading package: Net_Socket.......okDownloading package: Net_SMTP.........okDownloading package: Mail.............okDownloading package: XML_Parser.......okDownloading package: phpUnit..........okExtracting 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 Report
March 21, 200520 yr comment_238 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... I have attched it to this post... use this file to install PEAR [EDIT] I have removed the file Edited March 30, 200520 yr by olajideolaolorun Best Regards Olajide Olaolorun The Uniform Server Development Team Report
March 21, 200520 yr Author comment_241 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 specifieddirectories. 1. Installation prefix W:/usr/local/Php2. Binaries directory $prefix3. PHP code directory ($php_dir) $prefix\PEAR4. Documentation base directory $php_dir\docs5. Data base directory $php_dir\data6. Tests base directory $php_dir\tests7. PEAR Installer cache directory $php_dir\cache8. Cache TimeToLive 3009. Filename of WebFrontend $prefix\index.php10. php.exe path, optional (CLI command tools) W:\home\admin\WWW\plugins\PHP-pear\ Report
March 22, 200520 yr comment_244 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 Thanks Best Regards Olajide Olaolorun The Uniform Server Development Team Report
March 22, 200520 yr Author comment_245 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: okDownloading package: PEAR.............okDownloading package: Archive_Tar......okDownloading package: Console_Getopt....okDownloading package: XML_RPC..........okDownloading package: Pager............okDownloading package: HTML_Template_IT....okDownloading package: Net_UserAgent_Detect....okDownloading package: PEAR_Frontend_Web....okBootstrapping: 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 okBootstrapping: Archive_Tar............(remote) okBootstrapping: Console_Getopt.........(remote) okDownloading package: DB...............okDownloading package: Net_Socket.......okDownloading package: Net_SMTP.........okDownloading package: Mail.............okDownloading package: XML_Parser.......okDownloading package: PHPUnit..........ok Fatal error: Class 'PEAR' not found in W:\home\admin\WWW\plugins\PHP-pear\Uni_go-pear.php on line 681 Report
March 22, 200520 yr Author comment_246 Would it be possible for you to install pear and then zip the folder and send it to me? Report
March 22, 200520 yr comment_247 No Problem, but i may not be able to do it until this weekend when i get home. Where i am now, they use modem so i will be tieing up the phone line. Best Regards Olajide Olaolorun The Uniform Server Development Team Report
March 23, 200520 yr comment_253 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. Report
March 23, 200520 yr Author comment_254 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. Report
March 23, 200520 yr comment_255 So that means that you did not use the go_pear.php file i attached. That was the newer version?... Best Regards Olajide Olaolorun The Uniform Server Development Team Report
March 24, 200520 yr Author comment_269 Incorrect, the version you included was the same one that came with the server (Version 0.2.2). Did you mean to attatch version 0.5.0? Report
March 24, 200520 yr comment_270 Thats funny, I got it from a clean download of PHP 5.0.3. That must mean that the one included in version 5.0.3 is old. Best Regards Olajide Olaolorun The Uniform Server Development Team Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.