Jump to content
The Uniform Server Community
Ollie222

PEAR install problem

Recommended Posts

I'm having problems getting PEAR installed on the latest uniserver 5.7.1.

 

Running on Windows 7 64bit I've downloaded a fresh copy of uniserver 5.7.1 and Apache, mysql and the admin panel all work ok.

 

Now when I click on 'Install PEAR' under the plugin menu (Go-PEAR v1.1.2) and choose MDB2 while leaving all of the other options as the defaults then click install I get the following response and error.

 

Starting installation ...

Loading zlib: ok

 

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.... Error while opening {C:/Users/Stu/Uniserver_5_7/UniServer/home/admin/www/plugins/pear/temp/docs/html/Structures_Graph/Structures_Graph_Manipulator_TopologicalSorter.html

����������������������������������������������������������

����������������������������������������������������������

����������������������������������������������������������

����������������������������������������������������������

����������������������������������������������������������

����������������������������������������������������������

����������������������������������������������������������

�����} in write binary mode

 

Any ideas as to the problem, do I need to change any of the default settings or have any specific php setting activated?

Share this post


Link to post
Share on other sites

Just wonder if both uniserver 5.7.1 and uniserver 5.5 share the same version of PHP backend ...

 

Just as an update with uniserver 5.5 and the updated go-pear v1.1.2 I can get it does install correctly.

Share this post


Link to post
Share on other sites

It looks as if go-pear.php v1.1.2 remains the latest version (as per Pear web-site).

However core and other elements have been updated while go-pear has been neglected.

 

Solution is to edit file:

UniServer\home\admin\www\plugins\pear\go_pear.php

Locate this section:

'PEAR.php'			 => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_4/PEAR.php?view=co',
'Archive/Tar.php'	  => 'http://svn.php.net/viewvc/pear/packages/Archive_Tar/tags/RELEASE_1_3_2/Archive/Tar.php?view=co',
'Console/Getopt.php'   => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_4/Console/Getopt.php?view=co',

Change as shown below:

'PEAR.php'			 => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_6/PEAR.php?view=co',
'Archive/Tar.php'	  => 'http://svn.php.net/viewvc/pear/packages/Archive_Tar/tags/RELEASE_1_3_3/Archive/Tar.php?view=co',
'Console/Getopt.php'   => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_6/Console/Getopt.php?view=co', 

 

All the best

Ric :)

Share this post


Link to post
Share on other sites

It looks as if go-pear.php v1.1.2 remains the latest version (as per Pear web-site).

However core and other elements have been updated while go-pear has been neglected.

 

Solution is to edit file:

UniServer\home\admin\www\plugins\pear\go_pear.php

Locate this section:

'PEAR.php'			 => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_4/PEAR.php?view=co',
'Archive/Tar.php'	  => 'http://svn.php.net/viewvc/pear/packages/Archive_Tar/tags/RELEASE_1_3_2/Archive/Tar.php?view=co',
'Console/Getopt.php'   => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_4/Console/Getopt.php?view=co',

Change as shown below:

'PEAR.php'			 => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_6/PEAR.php?view=co',
'Archive/Tar.php'	  => 'http://svn.php.net/viewvc/pear/packages/Archive_Tar/tags/RELEASE_1_3_3/Archive/Tar.php?view=co',
'Console/Getopt.php'   => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_6/Console/Getopt.php?view=co', 

 

All the best

Ric :)

 

Thank you :)

Worked like a charm!! Very easy solution.

Share this post


Link to post
Share on other sites

It looks as if go-pear.php v1.1.2 remains the latest version (as per Pear web-site).

However core and other elements have been updated while go-pear has been neglected.

 

Solution is to edit file:

UniServer\home\admin\www\plugins\pear\go_pear.php

Locate this section:

'PEAR.php'			 => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_4/PEAR.php?view=co',
'Archive/Tar.php'	  => 'http://svn.php.net/viewvc/pear/packages/Archive_Tar/tags/RELEASE_1_3_2/Archive/Tar.php?view=co',
'Console/Getopt.php'   => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_4/Console/Getopt.php?view=co',

Change as shown below:

'PEAR.php'			 => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_6/PEAR.php?view=co',
'Archive/Tar.php'	  => 'http://svn.php.net/viewvc/pear/packages/Archive_Tar/tags/RELEASE_1_3_3/Archive/Tar.php?view=co',
'Console/Getopt.php'   => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_6/Console/Getopt.php?view=co', 

 

All the best

Ric :)

 

Thanks for the solution, I've not tried it yet as I'm in the midst of using an older version but based on the comment above it looks like it works so I'll give it a try soon.

Share this post


Link to post
Share on other sites

Been having problems installing Pear, and this information made it work. Now I just need to figure out why I need it, and what does it do. (as I scratch my head)

Share this post


Link to post
Share on other sites

Well, if you like to figure it out ;-)

 

Been having problems installing Pear, and this information made it work. Now I just need to figure out why I need it, and what does it do. (as I scratch my head)

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...