The UHF of the film world.


quietearth [General News 10.10.06]

Share on Google+


Ugh.. So you have a php version like 4.3.X and you see PEAR, what the heck is that? Well chances are your php installation already has pear built in, and you can use a simple command line interface to install it, so check out:
# pear
will give you a list of command line options, so we try doing:
# pear install SOAP
No release with state equal to: 'stable' found for 'SOAP'


so we can force it with -f, but first off we need to meet a few dependencies..
# pear install Net_URL
downloading Net_URL-1.0.14.tgz ...
Starting to download Net_URL-1.0.14.tgz (5,173 bytes)
.....done: 5,173 bytes
install ok: Net_URL 1.0.14
# pear install Net_Socket
Package 'Net_Socket' already installed, skipping
# pear install HTTP_Request
downloading HTTP_Request-1.3.0.tgz ...
Starting to download HTTP_Request-1.3.0.tgz (13,808 bytes)
.....done: 13,808 bytes
requires package `Net_Socket' >= 1.0.2
HTTP_Request: Dependencies failed



so let's upgrade Net_Socket, and continue.
# pear upgrade Net_Socket
downloading Net_Socket-1.0.6.tgz ...
Starting to download Net_Socket-1.0.6.tgz (4,623 bytes)
.....done: 4,623 bytes
upgrade ok: Net_Socket 1.0.6
# pear install HTTP_Request
downloading HTTP_Request-1.3.0.tgz ...
Starting to download HTTP_Request-1.3.0.tgz (13,808 bytes)
.....done: 13,808 bytes
install ok: HTTP_Request 1.3.0
# pear install -f SOAP
Warning: SOAP is state 'beta' which is less stable than state 'stable'
downloading SOAP-0.9.4.tgz ...
Starting to download SOAP-0.9.4.tgz (70,574 bytes)
.................done: 70,574 bytes
Optional dependencies:
package `Mail_Mime' is recommended to utilize some features.
package `Net_DIME' is recommended to utilize some features.
install ok: SOAP 0.9.4


and at this point the soap client will work, but you might still want to install Mail_Mime and Net_DIME..

avatar

Shibukthomas (3 years ago) Reply

It worked for me.

avatar

JR (3 years ago) Reply

Awesome...Thank you.

avatar

hyna (1 year ago) Reply

Hey gr8 article....worked like a wonder :)

avatar

Chaitanya (9 months ago) Reply

HOW TO GET VALUES FROM SOAP WSDL. PLEASE TELL ME.


Leave a comment








Related articles