[geeklog-devel] FW: pear:soap install

Chris Franklin chris_s_franklin at yahoo.com
Wed Mar 12 19:22:20 EST 2003

We're all in agreement.
We can easily set pear home in the install scripts by modifying the include_path:

$pearhome=$_CONF['path'] . 'pear';
ini_set('include_path', $pearhome).
require_once 'SOAP/Client.php';

or wherever the best place for it is.

 Dwight Trumbower <dwight at trumbower.com> wrote:Phpwebsite had a hell of a time not including PEAR with the install. Best way to elimante many help questions is too include it.----- Original Message ----- From: Jason Whittenburg To: geeklog-devel at lists.geeklog.net Sent: Wednesday, March 12, 2003 8:20 AMSubject: RE: [geeklog-devel] FW: pear:soap install
Yes, the plan has been to include the PEAR files with the GL2 distro.  This makes sense for several reasons. 1) Makes the install easier2) Eliminates version conflicts3) Makes install possible on non PEAR friendly service providers Tony and I had talked about different ways of packaging GL2 (with and without PEAR), but lately I'm of the mindset of just package PEAR and use the packaged modules.  Lets not worry if PEAR is installed or not at all. -Jason
Jason Whittenburg
Internet Security Systems, Inc.
-----Original Message-----
From: geeklog-devel-admin at lists.geeklog.net [mailto:geeklog-devel-admin at lists.geeklog.net] On Behalf Of Chris Franklin
Sent: Wednesday, March 12, 2003 4:40 AM
To: geeklog-devel at lists.geeklog.net
Subject: [geeklog-devel] FW: pear:soap install

 Has anyone installed the PEAR:SOAP module in your environment?I went about this using the pear command line tool but then I realized that it would make more sense to simply include all the PEAR php files with GL2 distro.Is that the plan? btwn, this really is bleeding edge stuff - the docs (http://pear.php.net/manual/en/pecl.soap.php) reference a client object called SoapObject wheras the latest version of the code uses an object called SOAP_Client. I guess the experimental warning really is true...  That's what makes it fun though. (-;-C   -----Original Message-----
From: Chris Franklin [mailto:chris_s_franklin at yahoo.com]
Sent: Tuesday, March 11, 2003 5:15 PM
To: chris_s_franklin at yahoo.com
Subject: pear:soap install 2

root at proto1:...wnloads/php/pear> ls -las
total 136
   4 drwxr-xr-x    3 chris    chris        4096 Mar 11 17:31 .
   4 drwxr-xr-x    3 chris    chris        4096 Mar 11 16:48 ..
  24 -rwxr-xr-x    1 chris    chris       20517 Mar 11 17:31 go-pear
   8 -rw-r--r--    1 chris    chris        6874 Mar 11 16:49 HTTP_Request-1.1.1.tgz
  16 -rw-r--r--    1 chris    chris       15268 Mar 11 16:49 Mail_Mime-1.2.1.tgz
   8 -rw-r--r--    1 chris    chris        6740 Mar 11 16:49 Net_DIME-0.3.tgz
   4 -rw-r--r--    1 chris    chris        3513 Mar 11 16:49 Net_Socket-1.0.1.tgz
   8 -rw-r--r--    1 chris    chris        4305 Mar 11 16:49 Net_URL-1.0.8.tgz
  56 -rw-r--r--    1 chris    chris       49720 Mar 11 17:16 SOAP-0.7.1.tgz
   4 drwxr-xr-x    3 root     root         4096 Mar 11 17:23 tmp
root at proto1:...wnloads/php/pear> chmod 777 go-pear 
root at proto1:...wnloads/php/pear> which php
root at proto1:...wnloads/php/pear> php -f go-pear 
Welcome to go-pear!

Go-pear will install the 'pear' command and all the files needed by
it.  This command is your tool for PEAR installation and maintenance.

Go-pear also lets you download and install the PEAR packages bundled
with PHP: DB, Net_Socket, Net_SMTP, Mail, XML_Parser.

If you wish to abort, press Control-C now, or press Enter to continue: 

HTTP proxy (host:port), or Enter for none: sfontprx002:8080

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation prefix          : /usr
 2. Binaries directory           : $prefix/bin
 3. PHP code directory           : $prefix/share/pear
 4. Documentation base directory : $php_dir/docs
 5. Data base directory          : $php_dir/data
 6. Tests base directory         : $php_dir/tests

1-6, 'all' or Enter to continue: 

The following PEAR packages are bundled with PHP: DB, Net_Socket, Net_SMTP,
Mail, XML_Parser.
Would you like to install these as well? [Y/n] : Y

Downloading package: PEAR.............ok
Downloading package: Archive_Tar......ok
Downloading package: Console_Getopt...ok
Downloading package: XML_RPC..........ok
Bootstrapping: PEAR...................ok
Bootstrapping: Archive_Tar............ok
Bootstrapping: Console_Getopt.........ok
Downloading package: DB...............ok
Downloading package: Net_Socket.......ok
Downloading package: Net_SMTP.........ok
Downloading package: Mail.............ok
Downloading package: XML_Parser.......ok
Extracting installer..................ok
install ok: PEAR 1.0.1
install ok: Archive_Tar 1.0
install ok: Console_Getopt 1.0
install ok: XML_RPC 1.0.4
install ok: DB 1.4b1
install ok: Net_Socket 1.0.1
install ok: Net_SMTP 1.1.2
install ok: Mail 1.0.2
install ok: XML_Parser 1.0.1

The 'pear' command is now at your service at /usr/bin/pear
Run it without parameters to see the available actions, try 'pear list'
to see what packages are installed, or 'pear help' for help.

For more information about PEAR, see:


Thanks for using go-pear!

root at proto1:...wnloads/php/pear> pear list
Installed packages:
| Package        | Version | State  |
| Archive_Tar    | 1.0     | stable |
| Console_Getopt | 1.0     | stable |
| DB             | 1.4b1   | beta   |
| HTTP_Request   | 1.1.1   | stable |
| Mail           | 1.0.2   | stable |
| Mail_Mime      | 1.2.1   | stable |
| Net_DIME       | 0.3     | beta   |
| Net_SMTP       | 1.1.2   | stable |
| Net_Socket     | 1.0.1   | stable |
| Net_URL        | 1.0.8   | stable |
| PEAR           | 1.0.1   | stable |
| XML_Parser     | 1.0.1   | stable |
| XML_RPC        | 1.0.4   | stable |
root at proto1:...wnloads/php/pear> ls
go-pear                 Mail_Mime-1.2.1.tgz  Net_Socket-1.0.1.tgz  SOAP-0.7.1.tgz
HTTP_Request-1.1.1.tgz  Net_DIME-0.3.tgz     Net_URL-1.0.8.tgz     tmp
root at proto1:...wnloads/php/pear> pear install SOAP-0.7.1.tgz 
install ok: SOAP 0.7.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist8.pair.net/pipermail/geeklog-devel/attachments/20030312/7a1817bc/attachment.html>

More information about the geeklog-devel mailing list