473,387 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

how to configure pear/soap

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
3 7203
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
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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stephan Lachmuth | last post by:
Hello, I want to do some SOAP with PHP and found the SOAP package at PEAR. But I didn't find any documentation for it. Can anybody tell, where to find docs? Or can anybody tell how to use it? ...
0
by: Arne Kösling | last post by:
Hi ! I am new to Web Services. Therefore I ve set up a PHP Installation on Windows (PHP 4.3.2 and Apache 1.3.29). I have tested PHP alone and then installed PEAR. Now I am stuck there (Before...
0
by: Jimmy Jim | last post by:
OK, I am so frustrated with PEAR SOAP, I have it working, but it seems when I include a file and in that file is a function with global variables, those globals are not set. Anyone have ANY...
0
by: Arne Kösling | last post by:
Hi, PEAR:SOAP is not working. I've tried so many examples now and the only one that works, is that amazon example, which is too complex for me to understand. I am so reliant on the Web...
0
by: Henrik Brautaset Aronsen | last post by:
I am having problems converting from Pear SOAP to PHP5 SOAP, especially when it comes to complex types. I would be grateful for any help on how this should be translated: ...
0
by: Alexander Waldmann | last post by:
Hi, i have PEAR::SOAP installed correctly (beta, all dependent packages are installed). When i try out the following simple Script <?php print "Include is ... ";...
0
by: Samuel Zallocco | last post by:
Hi all, I've a problem with PHP5 + PEAR::SOAP. I Have the following 2 script that implements a simple web service: The Server Code running on WinXP + PHP5 + Apache 2.x:...
0
by: wagemage.pt | last post by:
I'm having some trouble with PEAR soap and a response from a webservice when the number of results is one or more than one. Versions are PHP 4.4.2-1build1, PEAR-1.4.6, SOAP-0.9.4 running in...
0
by: info | last post by:
Dear all, is the first time that I use SOAP, and i must say that i'm having several problems. this is SOAP message that expects the server =================XML EXPECTED FROM THE...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.