我正在尝试安装 Opencats。为此,需要启用 soap。我已启用 Soap。
soap
Soap Client => enabled
Soap Server => enabled
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
但在安装时仍然显示
PHP SOAP extension (soap) is not loaded.
Check your settings in php.ini.
CATS Open Source will function without SOAP, but CATS Professional functionality will not be supported.
Under certain Linux / BSD distributions, the PHP SOAP extension is a separate package.
Ubuntu: Run "apt-get install php-soap" and restart your webserver.
Debian: Run "apt-get install php5-soap" and restart your webserver.
FreeBSD: Install the php5-soap port, or configure SOAP support in the php-extensions port and restart your webserver.
我正在使用 Fedora 17 操作系统。PHP:PHP 5.4.17
php.ini
[soap]
; Enables or disables WSDL caching feature.
; http://php.net/soap.wsdl-cache-enabled
soap.wsdl_cache_enabled=1
; Sets the directory name where SOAP extension will put cache files.
; http://php.net/soap.wsdl-cache-dir
soap.wsdl_cache_dir="/tmp"
; (time to live) Sets the number of second while cached file will be used
; instead of original one.
; http://php.net/soap.wsdl-cache-ttl
soap.wsdl_cache_ttl=86400
; Sets the size of the cache limit. (Max. number of WSDL files to cache)
soap.wsdl_cache_limit = 5
我已完成所有需要做的事情。但问题仍未解决。