raklet Posted October 24, 2007 Report Share Posted October 24, 2007 Uniform server version 3.5. Windows XP SP2. I am trying to install pear. The web install just hangs (the percent complete bar doesn't even count up a bit). I downloaded the latest go-pear (1.0.2) from pear.php.net/go-pear and got the same result. I then switched to command line installation so I could perhaps get some meaningful information. I get the following: W:\usr\local\php>php.exe w:\home\admin\www\plugins\pear\go_pear.phpWelcome to go-pear! Go-pear will install the 'pear' command and all the files needed byit. This command is your tool for PEAR installation and maintenance. Use 'php w:\home\admin\www\plugins\pear\go_pear.php local' to install a local copy of PEAR. Go-pear also lets you download and install the PEAR packages bundledwith PHP: MDB2. If you wish to abort, press Control-C now, or press Enter to continue: HTTP proxy (http://user:password@proxy.myhost.com:port), or Enter for none:: Below is a suggested file layout for your new PEAR installation. Tochange individual locations, type the number in front of thedirectory. Type 'all' to change all of them or simply press Enter toaccept these locations. 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. Temporary files directory : $prefix\temp 8. php.exe path : W:\usr\local\php\php.exe 1-8, 'all' or Enter to continue: The following PEAR packages are bundled with PHP: MDB2.Would you like to install these as well? [Y/n] : y Loading zlib: okDownloading package: PEAR-stable......okDownloading package: Archive_Tar-stable....okDownloading package: Console_Getopt-stable....okDownloading package: Structures_Graph-stable....okBootstrapping: PEAR...................(remote) okBootstrapping: Archive_Tar............(remote) okBootstrapping: Console_Getopt.........(remote) okDownloading package: MDB2.............okExtracting installer..................okwarning: pear/PEAR requires package "pear/Archive_Tar" (version >= 1.3.1)warning: pear/PEAR requires package "pear/Console_Getopt" (version >= 1.2)warning: pear/PEAR requires package "pear/Structures_Graph" (version >= 1.0.2)pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)pear/PEAR can optionally use package "pear/PEAR_Frontend_Web" (version >= 0.5.0) pear/PEAR can optionally use package "pear/PEAR_Frontend_Gtk" (version >= 0.4.0) Thats it. The installer just stops at that last line. It never times out and never gives an error message. The blinking cursor just sits in the DOS box as if it is waiting for something to happen. Anyone have suggestions? Thanks,Tyler Quote Link to comment Share on other sites More sharing options...
Ric Posted October 24, 2007 Report Share Posted October 24, 2007 I ran the manual installation of Pear (I covered this in detail see post:http://forum.uniformserver.com/index.php?showtopic=662} I have included my results below: W:\>cd usr\local\php W:\usr\local\php>php -r "readfile('http://pear.php.net/go-pear');" > go-pear W:\usr\local\php>php go-pearWelcome to go-pear! Go-pear will install the 'pear' command and all the files needed byit. This command is your tool for PEAR installation and maintenance. Use 'php go-pear local' to install a local copy of PEAR. Go-pear also lets you download and install the PEAR packages bundledwith PHP: MDB2. If you wish to abort, press Control-C now, or press Enter to continue: HTTP proxy (http://user:password@proxy.myhost.com:port), or Enter for none:: Below is a suggested file layout for your new PEAR installation. Tochange individual locations, type the number in front of thedirectory. Type 'all' to change all of them or simply press Enter toaccept these locations. 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. Temporary files directory : $prefix\temp 8. php.exe path : W:\usr\local\php\php.exe 1-8, 'all' or Enter to continue: The following PEAR packages are bundled with PHP: MDB2.Would you like to install these as well? [Y/n] : y Loading zlib: okDownloading package: PEAR-stable......okDownloading package: Archive_Tar-stable....okDownloading package: Console_Getopt-stable....okDownloading package: Structures_Graph-stable....okBootstrapping: PEAR...................(remote) okBootstrapping: Archive_Tar............(remote) okBootstrapping: Console_Getopt.........(remote) okDownloading package: MDB2.............okExtracting installer..................okwarning: pear/PEAR requires package "pear/Archive_Tar" (version >= 1.3.1)warning: pear/PEAR requires package "pear/Console_Getopt" (version >= 1.2)warning: pear/PEAR requires package "pear/Structures_Graph" (version >= 1.0.2)pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)pear/PEAR can optionally use package "pear/PEAR_Frontend_Web" (version >= 0.5.0) pear/PEAR can optionally use package "pear/PEAR_Frontend_Gtk" (version >= 0.4.0) Yep they are the same as yours (the results are similar when run from admin) what this points to, is a problem at the Pear end and not UniServer. Olajide if you are reading this do you think the above is a probable cause? Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted October 24, 2007 Report Share Posted October 24, 2007 I really have no idea.. I have seen about 3 different ways users have tried to install it, but i know its not from Uniform Server.... Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
Ric Posted October 25, 2007 Report Share Posted October 25, 2007 Thanks Olajide, so it’s not just raklet and I with the problem! Well I have run the old and new versions of go-pear and neither do quite what I expected. Seems as if I have got that dog and bone syndrome again. Yep, a few more tests to see what’s going on and hopefully how to resolve this problem. All the bestRic Quote Link to comment Share on other sites More sharing options...
Ric Posted October 26, 2007 Report Share Posted October 26, 2007 I am not convinced that the new go-pear script works. The version that ships with 3.5-Apollo does! Although you need to make a few changes. Added to this you need to download all packages individually (looks as if the default set are not now automatically download) Try the following (no guarantees): 1) Install a new version of 3.5-Apollo2) From apanel click on Install Pear3) Click Next4) For some reason you need to remove W: from the paths (it prevents Pear hanging) The paths look like this: 1. Installation prefix \home\admin\www\plugins\pear11. php.exe path, optional (CLI command tools) \home\admin\www\plugins\pear\ 5) Click Install The install should be relatively fast, ignore any errors and the need to change paths (no need already set-up). Now type the following into your browser: http://localhost/apanel/plugins/pear/index.php This will bring up the Pear front-end allowing you to download modules. Before downloading any package update the Channel Management system 1) To the left click on Channel Management2) Then click on Update All Channels You will receive something like this: Updating channel "pear.php.net" Update of Channel "pear.php.net" succeeded Updating channel "pecl.php.net" Update of Channel "pecl.php.net" succeeded You are now ready to install packages just follow these steps for each package: For example HTML 1) Click on Package Search2) In Package name enter HTML (after a relatively long time a list will be displayed)3) Find pear.php.net HTML_Common and click on the green plus image.4) That’s it the package will be installed. Note 1: Packages are loaded into folder: *\Uniform Server\udrive\usr\local\php\pearNote 2: PHP.ini does not need changing the default paths are correct. The above is the quickest workaround I could think off, it’s a shame default packages are not automatically downloaded. All the bestRic Quote Link to comment Share on other sites More sharing options...
raklet Posted October 27, 2007 Author Report Share Posted October 27, 2007 Ric, Thank you very much! It is intelligent and dedicated folks like you that make the world a pleasant place. It worked a treat for me. Best Regards, Raklet Quote Link to comment Share on other sites More sharing options...
Steve Posted January 2, 2008 Report Share Posted January 2, 2008 Thank you Ric, your analysis was spot on. Steve Albrecht I am not convinced that the new go-pear script works. The version that ships with 3.5-Apollo does! Although you need to make a few changes. Added to this you need to download all packages individually (looks as if the default set are not now automatically download) Try the following (no guarantees): 1) Install a new version of 3.5-Apollo2) From apanel click on Install Pear3) Click Next4) For some reason you need to remove W: from the paths (it prevents Pear hanging) The paths look like this: 1. Installation prefix \home\admin\www\plugins\pear11. php.exe path, optional (CLI command tools) \home\admin\www\plugins\pear\ 5) Click Install The install should be relatively fast, ignore any errors and the need to change paths (no need already set-up). Now type the following into your browser: http://localhost/apanel/plugins/pear/index.php This will bring up the Pear front-end allowing you to download modules. Before downloading any package update the Channel Management system 1) To the left click on Channel Management2) Then click on Update All Channels You will receive something like this: Updating channel "pear.php.net" Update of Channel "pear.php.net" succeeded Updating channel "pecl.php.net" Update of Channel "pecl.php.net" succeeded You are now ready to install packages just follow these steps for each package: For example HTML 1) Click on Package Search2) In Package name enter HTML (after a relatively long time a list will be displayed)3) Find pear.php.net HTML_Common and click on the green plus image.4) That’s it the package will be installed. Note 1: Packages are loaded into folder: *\Uniform Server\udrive\usr\local\php\pearNote 2: PHP.ini does not need changing the default paths are correct. The above is the quickest workaround I could think off, it’s a shame default packages are not automatically downloaded. All the bestRic Quote Link to comment Share on other sites More sharing options...
Adnan Posted August 13, 2010 Report Share Posted August 13, 2010 I have tried to install PEAR in 5.1-nano but it failed. especially the dos command part. there is no w: drive in new uniserver!! Quote Link to comment Share on other sites More sharing options...
Ric Posted August 13, 2010 Report Share Posted August 13, 2010 I confirmed PEAR hangs on 5.1-Nano and 5.6.9-NanoI assume it applies to all versions. Cause Go-Pear 1.1.1 no longer works on Uniform Server. Solution is to update to version Go-Pear 1.1.2. Navigate to folder Make a backup copy of go_pear.phpReplace the old go_pear.php with new versionAt the top of your backup copy apply changes as listed to your new version. Alternatively download file go_pear_update_1_1_2.zip from SourceForge Use that file on versions 5.*-Nano and 6.*-Carbo All the bestRic :angry: Quote Link to comment Share on other sites More sharing options...
Adnan Posted August 14, 2010 Report Share Posted August 14, 2010 THanks Ric! it worked!! [ EDIT: I have a question: how do I install a pear package? I have installed PEAR_Frontend_Gtk2, would it help me? ] Now let me describe exactly what I did to install PEAR on my uniserver 5.1 nano for others who may have the same problem. First, downloaded the new go_pear.php from here:http://sourceforge.net/projects/miniserver..._2.zip/download Then.... 1. I went to:\home\admin\www\plugins\pear 2. Zipped the old go_pear.php (for backup) 3. Replaced the new one. 4. Went to apanel 5. Clicked on "Install Pear" from left menu 6. clicked "next >>", checked "PEAR_Frontend_Gtk2", clicked install Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.