note 106096 added to soap.installation
| From: | bty-adminf4 at trebly dot net | Date: | Mon, 10 Oct 2011 01:05:07 +0000 |
| Subject: | note 106096 added to soap.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-183760@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 82.224.154.232
----
Manual Page -- http://www.php.net/manual/en/soap.installation.php
Edit -- https://master.php.net/note/edit/106096
Del: integrated -- https://master.php.net/note/delete/106096/integrated
Del: useless -- https://master.php.net/note/delete/106096/useless
Del: bad code -- https://master.php.net/note/delete/106096/bad+code
Del: spam -- https://master.php.net/note/delete/106096/spam
Del: non-english -- https://master.php.net/note/delete/106096/non-english
Del: in docs -- https://master.php.net/note/delete/106096/in+docs
Del: other reasons-- https://master.php.net/note/delete/106096
Reject -- https://master.php.net/note/reject/106096
Search -- https://master.php.net/manage/user-notes.php