hi !
I try to use the remoting framework with the 2.2.14 ISPConfig version.
But i 've got an error :
"Fatal error: Cannot redeclare class soapclient in /var/www/web3/web/site/soap.lib.php on line 4101"
I have followed the tutos here, recompile ispconfig with xml, curl and put the new ioncube loader.
Please help ! thanx !!!
Posts: 31,896
Thanks: 693
Thanked 4,190 Times in 3,207 Posts
Either you included the soap library twice or the PHP version that you use in your websites ahs a soep extension installed that conflicts with the soap library that comes with the example files.
so i should get rid of "soap" stuff in the php.ini ?
ok ... so I've got 3 files php.ini on my system :
/root/ispconfig/php/php.ini -----> no soap extension
/etc/php5/cli/php.ini ------> soap lines are now commented with a ;
/etc/php5/apache2/php.ini ----> soap lines are now commented with a ;
Posts: 31,896
Thanks: 693
Thanked 4,190 Times in 3,207 Posts
The rekevant php-ini file is: /etc/php5/apache2/php.ini
If you can not remove it by commenting it out, you can try to uninstall the soap package or you use this soap package instead of the library used in the remoting examples.
[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
I've restarted apache but i've got the same error !!!
Recent comments
20 hours 46 min ago
1 day 6 hours ago
1 day 7 hours ago
1 day 10 hours ago
1 day 15 hours ago
1 day 15 hours ago
1 day 17 hours ago
2 days 3 hours ago
2 days 8 hours ago
2 days 9 hours ago