By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,977 Members | 1,369 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,977 IT Pros & Developers. It's quick & easy.

how to configure pear/soap

P: n/a
on a win 2k server
apparantly it is saying i dont have it. or it cant find it.
im using mySQL 4.1
php 4.3.x
apache 3.0.53

im new to php and am doing some tutorials, but when i run the sripts it
tells mea it can not run pear/soap, because it can not be found.the book im
learning form does not tell me how to install or configure this extension.
so now im looking for help.
is it possible? if so how do i config it with php 4.3.x and apache 2.0.53 ?
followed a tutorial and ran my script only to find out that i dont have 1)
it installed 2) not configured.

help...
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Thu, 24 Feb 2005 15:24:36 -0800, "junkmail" <ju***********@com-techs.net>
wrote:
on a win 2k server
apparantly it is saying i dont have it. or it cant find it.
im using mySQL 4.1
php 4.3.x
apache 3.0.53
What's it like in the future - can you send us the winning lottery numbers and
the Changelog for Apache 3?
im new to php and am doing some tutorials, but when i run the sripts it
tells mea it can not run pear/soap, because it can not be found.the book im
learning form does not tell me how to install or configure this extension.
so now im looking for help.

is it possible? if so how do i config it with php 4.3.x and apache 2.0.53 ?
followed a tutorial and ran my script only to find out that i dont have 1)
it installed 2) not configured.


PHP for Windows comes with a batch file "go-pear.bat" - run this first. Then
you can use the "pear" command to install more PEAR modules. The PEAR page for
the SOAP module shows it's not been released, it's still beta, so you have to
persuade the pear command to install it.

D:\php-5.0.3-Win32>pear install SOAP
No release with state equal to: 'stable' found for 'SOAP'

D:\php-5.0.3-Win32>pear install http://pear.php.net/get/SOAP-0.8.1.tgz
downloading SOAP-0.8.1.tgz ...
Starting to download SOAP-0.8.1.tgz (69,177 bytes)
..................done: 69,177 bytes
requires package `Mail_Mime'
requires package `HTTP_Request'
requires package `Net_URL'
requires package `Net_DIME'
SOAP: Dependencies failed

D:\php-5.0.3-Win32>pear --help install
pear install [options] <package> ...
Installs one or more PEAR packages. You can specify a package to
install in four ways:

"Package-1.0.tgz" : installs from a local file

"http://example.com/Package-1.0.tgz" : installs from
anywhere on the net.

"package.xml" : installs the package described in
package.xml. Useful for testing, or for wrapping a PEAR package in
another package manager such as RPM.

"Package" : queries your configured server
(pear.php.net) and downloads the newest package with
the preferred quality/state (stable).

More than one package may be specified at once. It is ok to mix these
four ways of specifying packages.

Options:
-f, --force
will overwrite newer installed packages
-n, --nodeps
ignore dependencies, install anyway
-r, --register-only
do not install files, only register the package as installed
-s, --soft
soft install, fail silently, or upgrade if already installed
-B, --nobuild
don't build C extensions
-Z, --nocompress
request uncompressed files when downloading
-R DIR, --installroot=DIR
root directory used when installing files (ala PHP's INSTALL_ROOT)
--ignore-errors
force install even if there were errors
-a, --alldeps
install all required and optional dependencies
-o, --onlyreqdeps
install all required dependencies

D:\php-5.0.3-Win32>pear install -a http://pear.php.net/get/SOAP-0.8.1.tgz
downloading SOAP-0.8.1.tgz ...
Starting to download SOAP-0.8.1.tgz (69,177 bytes)
..................done: 69,177 bytes
downloading Mail_Mime-1.2.1.tgz ...
Starting to download Mail_Mime-1.2.1.tgz (15,268 bytes)
....done: 15,268 bytes
downloading HTTP_Request-1.2.4.tgz ...
Starting to download HTTP_Request-1.2.4.tgz (13,212 bytes)
....done: 13,212 bytes
downloading Net_URL-1.0.14.tgz ...
Starting to download Net_URL-1.0.14.tgz (5,173 bytes)
....done: 5,173 bytes
Release for 'soap' dependency 'Net_DIME' has state 'beta', requires 'stable'
install failed

D:\php-5.0.3-Win32>pear install http://pear.php.net/get/Net_DIME-0.3.tgz
downloading Net_DIME-0.3.tgz ...
Starting to download Net_DIME-0.3.tgz (6,740 bytes)
......done: 6,740 bytes
install ok: Net_DIME 0.3

D:\php-5.0.3-Win32>pear install -a http://pear.php.net/get/SOAP-0.8.1.tgz
downloading SOAP-0.8.1.tgz ...
Starting to download SOAP-0.8.1.tgz (69,177 bytes)
..................done: 69,177 bytes
downloading Mail_Mime-1.2.1.tgz ...
Starting to download Mail_Mime-1.2.1.tgz (15,268 bytes)
....done: 15,268 bytes
downloading HTTP_Request-1.2.4.tgz ...
Starting to download HTTP_Request-1.2.4.tgz (13,212 bytes)
....done: 13,212 bytes
downloading Net_URL-1.0.14.tgz ...
Starting to download Net_URL-1.0.14.tgz (5,173 bytes)
....done: 5,173 bytes
Release for 'soap' dependency 'Net_DIME' has state 'beta', requires 'stable'
install failed

At which point you're stuck and probably have to complain to the PEAR SOAP
maintainers, since there is no stable version of whatever Net_DIME is.
(http://pear.php.net/package/Net_DIME)

You could do:

D:\php-5.0.3-Win32>pear install -n http://pear.php.net/get/SOAP-0.8.1.tgz
downloading SOAP-0.8.1.tgz ...
Starting to download SOAP-0.8.1.tgz (69,177 bytes)
..................done: 69,177 bytes
install ok: SOAP 0.8.1

... but who knows if it'll work.

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #2

P: n/a
man, i never knew i was in the future.. looking back, i see the version
2.0.53 i tried downgrading to that.. lol... :P

now with this... why would someone provide explicit details for a php
application for windows, if pear is not even reliable on that platform. ??
well, no problem, i guess i will turn back to standard php...
:)

but thanks for your help. i will try this, and see if it works, if not, then
i will just wait on learning this.
"Andy Hassall" <an**@andyh.co.uk> wrote in message
news:ml********************************@4ax.com...
On Thu, 24 Feb 2005 15:24:36 -0800, "junkmail"
<ju***********@com-techs.net>
wrote:
on a win 2k server
apparantly it is saying i dont have it. or it cant find it.
im using mySQL 4.1
php 4.3.x
apache 3.0.53


What's it like in the future - can you send us the winning lottery numbers
and
the Changelog for Apache 3?
im new to php and am doing some tutorials, but when i run the sripts it
tells mea it can not run pear/soap, because it can not be found.the book
im
learning form does not tell me how to install or configure this extension.
so now im looking for help.

is it possible? if so how do i config it with php 4.3.x and apache 2.0.53
?
followed a tutorial and ran my script only to find out that i dont have 1)
it installed 2) not configured.


PHP for Windows comes with a batch file "go-pear.bat" - run this first.
Then
you can use the "pear" command to install more PEAR modules. The PEAR page
for
the SOAP module shows it's not been released, it's still beta, so you have
to
persuade the pear command to install it.

D:\php-5.0.3-Win32>pear install SOAP
No release with state equal to: 'stable' found for 'SOAP'

D:\php-5.0.3-Win32>pear install http://pear.php.net/get/SOAP-0.8.1.tgz
downloading SOAP-0.8.1.tgz ...
Starting to download SOAP-0.8.1.tgz (69,177 bytes)
.................done: 69,177 bytes
requires package `Mail_Mime'
requires package `HTTP_Request'
requires package `Net_URL'
requires package `Net_DIME'
SOAP: Dependencies failed

D:\php-5.0.3-Win32>pear --help install
pear install [options] <package> ...
Installs one or more PEAR packages. You can specify a package to
install in four ways:

"Package-1.0.tgz" : installs from a local file

"http://example.com/Package-1.0.tgz" : installs from
anywhere on the net.

"package.xml" : installs the package described in
package.xml. Useful for testing, or for wrapping a PEAR package in
another package manager such as RPM.

"Package" : queries your configured server
(pear.php.net) and downloads the newest package with
the preferred quality/state (stable).

More than one package may be specified at once. It is ok to mix these
four ways of specifying packages.

Options:
-f, --force
will overwrite newer installed packages
-n, --nodeps
ignore dependencies, install anyway
-r, --register-only
do not install files, only register the package as installed
-s, --soft
soft install, fail silently, or upgrade if already installed
-B, --nobuild
don't build C extensions
-Z, --nocompress
request uncompressed files when downloading
-R DIR, --installroot=DIR
root directory used when installing files (ala PHP's INSTALL_ROOT)
--ignore-errors
force install even if there were errors
-a, --alldeps
install all required and optional dependencies
-o, --onlyreqdeps
install all required dependencies

D:\php-5.0.3-Win32>pear install -a http://pear.php.net/get/SOAP-0.8.1.tgz
downloading SOAP-0.8.1.tgz ...
Starting to download SOAP-0.8.1.tgz (69,177 bytes)
.................done: 69,177 bytes
downloading Mail_Mime-1.2.1.tgz ...
Starting to download Mail_Mime-1.2.1.tgz (15,268 bytes)
...done: 15,268 bytes
downloading HTTP_Request-1.2.4.tgz ...
Starting to download HTTP_Request-1.2.4.tgz (13,212 bytes)
...done: 13,212 bytes
downloading Net_URL-1.0.14.tgz ...
Starting to download Net_URL-1.0.14.tgz (5,173 bytes)
...done: 5,173 bytes
Release for 'soap' dependency 'Net_DIME' has state 'beta', requires
'stable'
install failed

D:\php-5.0.3-Win32>pear install http://pear.php.net/get/Net_DIME-0.3.tgz
downloading Net_DIME-0.3.tgz ...
Starting to download Net_DIME-0.3.tgz (6,740 bytes)
.....done: 6,740 bytes
install ok: Net_DIME 0.3

D:\php-5.0.3-Win32>pear install -a http://pear.php.net/get/SOAP-0.8.1.tgz
downloading SOAP-0.8.1.tgz ...
Starting to download SOAP-0.8.1.tgz (69,177 bytes)
.................done: 69,177 bytes
downloading Mail_Mime-1.2.1.tgz ...
Starting to download Mail_Mime-1.2.1.tgz (15,268 bytes)
...done: 15,268 bytes
downloading HTTP_Request-1.2.4.tgz ...
Starting to download HTTP_Request-1.2.4.tgz (13,212 bytes)
...done: 13,212 bytes
downloading Net_URL-1.0.14.tgz ...
Starting to download Net_URL-1.0.14.tgz (5,173 bytes)
...done: 5,173 bytes
Release for 'soap' dependency 'Net_DIME' has state 'beta', requires
'stable'
install failed

At which point you're stuck and probably have to complain to the PEAR SOAP
maintainers, since there is no stable version of whatever Net_DIME is.
(http://pear.php.net/package/Net_DIME)

You could do:

D:\php-5.0.3-Win32>pear install -n http://pear.php.net/get/SOAP-0.8.1.tgz
downloading SOAP-0.8.1.tgz ...
Starting to download SOAP-0.8.1.tgz (69,177 bytes)
.................done: 69,177 bytes
install ok: SOAP 0.8.1

... but who knows if it'll work.

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

Jul 17 '05 #3

P: n/a
"junkmail" <ju***********@com-techs.net> wrote in
news:38*************@individual.net:
man, i never knew i was in the future.. looking back, i see the
version 2.0.53 i tried downgrading to that.. lol... :P

now with this... why would someone provide explicit details for a php
application for windows, if pear is not even reliable on that
platform. ?? well, no problem, i guess i will turn back to standard
php...
:)

but thanks for your help. i will try this, and see if it works, if
not, then i will just wait on learning this.


I have it installed on a couple systems, don't remember the exact steps. I
think I ended up just downloading it, then installing local files, and I
know I didn't let it handle auto-dependencies. Try taking the dependency
list, and you can do a pear install on the stable stuff, but download the
betas and install them by themselves from a local file.

Greg
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.