Jump to content
The Uniform Server Community

Plug in - PEAR


reenyg
 Share

Recommended Posts

after i added a

[b]?>[/b]

on the end of the actual script from http://go-pear.org it works finally !

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Running Uniform Server [3.3] from a 512MB USB Stick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Running Uniform Server [3.3] on a 60GB USB HDD :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Link to comment
Share on other sites

  • 1 month later...

I got a really sweet instal by downloading the new Pear installer:

 

Starting installation ...

Loading zlib: ok

Downloading package: PEAR-stable......ok

Downloading package: Archive_Tar-stable....ok

Downloading package: Console_Getopt-stable....ok

Downloading package: XML_RPC-stable....ok

Downloading package: HTML_Template_IT-stable....ok

Downloading package: Net_UserAgent_Detect-stable....ok

Downloading package: PEAR_Frontend_Web-alpha....ok

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

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

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

Downloading package: MDB2.............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

warning: pear/PEAR requires package "pear/Archive_Tar" (version >= 1.3.1)

warning: pear/PEAR requires package "pear/Console_Getopt" (version >= 1.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)

install ok: channel://pear.php.net/PEAR-1.4.9

install ok: channel://pear.php.net/Archive_Tar-1.3.1

install ok: channel://pear.php.net/Console_Getopt-1.2

install ok: channel://pear.php.net/XML_RPC-1.4.8

install ok: channel://pear.php.net/HTML_Template_IT-1.1.4

install ok: channel://pear.php.net/Net_UserAgent_Detect-2.2.0

install ok: channel://pear.php.net/PEAR_Frontend_Web-0.5.1

install ok: channel://pear.php.net/MDB2-2.1.0

install ok: channel://pear.php.net/Net_Socket-1.0.6

pear/Net_SMTP can optionally use package "pear/Auth_SASL"

install ok: channel://pear.php.net/Net_SMTP-1.2.8

install ok: channel://pear.php.net/Mail-1.1.10

install ok: channel://pear.php.net/XML_Parser-1.2.7

pear/PHPUnit can optionally use package "pear/PHP_Compat"

install ok: channel://pear.php.net/PHPUnit-1.3.2

Writing WebFrontend file ...

Note: To use PEAR without any problems you need to add your

PEAR Installation path (W:\home\admin\www\plugins\pear/PEAR)

to your include_path.

 

Using a .htaccess file or directly edit httpd.conf would be working solutions

for Apache running servers, too.

 

For more information about PEAR, see:

PEAR FAQ

PEAR Manual

 

Thanks for using go-pear!

 

Start Web Frontend of the PEAR Installer >>

 

I just hope I got my include paths right. I ended up with this in my php.ini after the link they offered for instructions errored out:

 

safe_mode_include_dir =".;W:\home\admin\www\plugins\pear/PEAR;/home/admin/www/plugins/pear/PEAR"

include_path=".;W:\home\admin\www\plugins\pear/PEAR;/home/admin/www/plugins/pear/PEAR"

 

BTW, the ?> was missing from the end but it ran without error. :)

Edited by ook
Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

I've managed to get pear working on uniserver after receiving all the errors you guys all have.

 

Open up a command line window, ( Start > Run > "command" > Enter )

 

run the following commands.

 

w:
cd\
cd usr
cd local
cd php
php -r "readfile('http://pear.php.net/go-pear');" > go-pear
php go-pear

 

The installer should run perfectly if your running this as administrator.

 

Hope this helps, it worked for me after a couple weeks of frustration.

 

Actually, if you use

 

php go-pear local

 

as the last command, administrator access is no longer required, since it modifies the local copy of php.ini in W:\usr\local\php rather than the system-wide one in your Windows system directory.

Link to comment
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...
 Share

×
×
  • Create New...