Fatal Error: Cannot Redeclare Class Soapclient In Soap.lib.php On Line 4101
- Forums
- Linux Systems
- Fatal Error: Cannot Redeclare Class Soapclient In Soap.lib.php On Line 4101
This Page Contains information about Fatal Error: Cannot Redeclare Class Soapclient In Soap.lib.php On Line 4101 By wallpaperama in category Linux Systems with 2 Replies. [2976], Last Updated: Sat May 18, 2024
wallpaperama
Fri Jul 20, 2007
2 Comments
1905 Visits
ok, today i was working on ispconfig frameworking and i had to install soap in my server, before installing soap, i wasn't getting this error, but after i install soap, i got it.
"Fatal error: Cannot redeclare class soapclient in /var/www/web1/web/test/soap.lib.php on line 4101"
i know i didn't want to remove or uninstall soap, so the way i was able to fix this error as to rename all the instances of soapclient to soap_clien to SoapClient, or whatever you want as long as its not soapclient. i was able to do this with dreamweaver, but you can do it with notepad also or any other text editor. i guess there's already a class or function in php called soapclient and when you use the remote framework from ispconfig, you are using it again.
https://www.wallpaperama.com/forums/fatal-error-cannot-redeclare-class-soapclient-in-soap-lib-php-on-line-4101-t1755.html