NuSOAP and PHP5

30 March, 2007 – 1:49 pm

When installing the NuSOAP class on a system with PHP5, you may get the following error:

“Fatal error: Cannot redeclare class soapclient in ../nusoap.php on line 7240″

A quick google search will reveal the following cause.
As PHP5 already has a built in class called soapclient, this is where the clash is…

The best way to fix this problem is to rename all instances of soapclient with nusoapclient in the lib and samples directories that come with the 0.7.2 version of NuSOAP.

Share it: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Netscape
  • Reddit
  • Slashdot
  • Technorati
  • YahooMyWeb

Post a Comment

*
To prove that you're not a bot, enter this code
Anti-Spam Image