downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Runtime Configuration> <Requirements
[edit] Last updated: Fri, 24 Jun 2011

view this page in

Installation

برای فعال‌سازی پشتیبانی از SOAP PHP را همراه با --enable-soap تنظیم کنید.



Runtime Configuration> <Requirements
[edit] Last updated: Fri, 24 Jun 2011
 
add a note add a note User Contributed Notes Installation - [6 notes]
up
0
Anonymous
2 years ago
If you are using 3rd party all-in-one servers on windows (like Uniform Server etc), "php_soap.dll" may not be included in the default distribution. If this is the case, the do phpinfo(); first, check what compiler is used - you need to find out if it's VC6 or VC9, then got to official php download page, get windows binary distribution (.zip archive recommended), and copy php_soap.dll from that archive to your server (on Uniform it's <path>usr\local\php\extensions\ and then restart the apache service. Please note that despite of compiler difference, PHP comes in two flavours - thread safe and non thread safe. If one does not work for you (check logs - "unable to load dynamic library '...' usually means file is not there (not the case) or cannot be loaded (due to compiler ABI mismatch or ts/nts mismatch). Try thread safe binaries first.
up
-1
bty-adminf4 at trebly dot net
1 year ago
Not a bug, not an enhancement, but incident with a solution which is needed to take care of a parameters coherency problem with wdsl_cache.

This need which could disappear in future (next) version .

If soap is enable (default), in php.ini after the parameter which enables the cache for wdsl :
soap.wsdl_cache_enable=1

if the other parameter
soap.wsdl_cache=
is not explicitly set (>0)

A request :
$mysoap_inst = NEW SoapClient ( https://...../*.wsdl)
will crash because the class SoapClient will not be loaded and initiated.

The following parameters are requested into php.ini :
soap.wsdl_cache
soap.wsdl_cache_dir (not completely checked)

This is because default value are not enabled by a simple
soap.wsdl_cache_enable=1
You can't try to set dynamically the value if they are not defined in php.ini explicitly with the default value.
up
-1
ifzen at yahoo dot com
2 years ago
And CentOS or Red-Hat : yum install php-soap
up
-1
warren at mojohost dot com
2 years ago
You may not need anything extra, just --enable-soap. For some reason reading these notes made me think some other installation was required. You can just recompile with --enable-soap.

For linux try php -i | grep configure and run your new configure with that same list, just append --enable-soap at the end.
up
-1
walter
2 years ago
Gentoo: add the 'soap' use flag to /etc/make.conf and emerge -av php
up
-1
Julian
3 years ago
on Ubuntu or Debian serived servers...

sudo aptitude install php-soap

 
show source | credits | stats | sitemap | contact | advertising | mirror sites