SOAP Extension enabled, but not working?
Hi all,
We have a linux webspace for our website.
In Contao 2.8.3 when I click on:
Extension catalog
or
Extension manager
I see the following message:
Quote:
SOAP extension not loaded (configure PHP with --enable-soap).
I checked the php.ini file, which resides in the folder /etc, and it appears to be enabled?:
Code:
[soap]
; Enables or disables WSDL caching feature.
soap.wsdl_cache_enabled=1
; Sets the directory name where SOAP extension will put cache files.
soap.wsdl_cache_dir="/tmp"
; (time to live) Sets the number of second while cached file will be used
; instead of original one.
soap.wsdl_cache_ttl=86400
; Local Variables:
; tab-width: 4
; End:
; Extension for PDFLib 6.0.4
extension=libpdf_php.so
Any idea why Contao is unable to use the SOAP extension?
Thanks.
Re: SOAP Extension enabled, but not working?
Hi partisanentity,
what says the "phpinfo()" function? Can you see there an enabled SOAP extension?
Re: SOAP Extension enabled, but not working?
According to php.info:
Under Configure Command:
Quote:
'--enable-soap=shared'
Re: SOAP Extension enabled, but not working?
What about furthur down the page, in the soap block?
Something like...
Quote:
soap
Soap Client enabled
Soap Server enabled
Directive Local Value Master Value
soap.wsdl_cache 1 1
soap.wsdl_cache_dir /tmp /tmp
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_limit 5 5
soap.wsdl_cache_ttl 86400 86400
Re: SOAP Extension enabled, but not working?
Hmm I dont have a SOAP block in phpinfo?
Re: SOAP Extension enabled, but not working?
Quote:
Originally Posted by partisanentity
Hmm I dont have a SOAP block in phpinfo?
So, I guess, the SOAP extension is not enabled (or not enabled correctly)
Re: SOAP Extension enabled, but not working?
You can install extensions that replace soap for the extension repository. There was a recent topic about it. One extension was called nusoap and the other I have forgotten...
http://www.contao.org/extension-list/view/nusoap.html
Re: SOAP Extension enabled, but not working?
The other one is "tensiderepository". Actually NOT compatible with minor version 2.9!
Re: SOAP Extension enabled, but not working?
What would you recommend I do, contact the webhost to ask about the soap extension or install an extension that replaces soap repository extension?
Re: SOAP Extension enabled, but not working?
Personally I'd contact my webhost.
I notice in my php.ini that there are no quotes around the temp directory.
Quote:
[soap]
soap.wsdl_cache_enabled = 1
soap.wsdl_cache_dir = /tmp
soap.wsdl_cache_ttl = 86400
Also, is ; a valid character to comment out a line?
And does the Contao system check tool show all correct permissions and uncorrupted files (green) on your install?