How do I install soap extension?

前端 未结 9 531
故里飘歌
故里飘歌 2020-12-01 05:51

How do I install Soap?

I got this error:

Fatal error: Class \'SoapClient\' not found in /home/user/mysite.com/path/to/file.php on line 16

9条回答
  •  失恋的感觉
    2020-12-01 06:38

    I had the same problem, there was no extension=php_soap.dll in my php.ini But this was because I had copied the php.ini from a old and previous php version (not a good idea). I found the dll in the ext directory so I just could put it myself into the php.ini extension=php_soap.dll After Apache restart all worked with soap :)

提交回复
热议问题