• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

php SoapClient not found

jiHymas

New Pleskian
I recently migrated my site from Linux/CPanel to MS Server 2012 / Plesk.

Some php code now gives the error:

Fatal error: Class 'SoapClient' not found in C:\Inetpub\vhosts\prefinfo.com\prefletter\inc\functions_process.php on line 303

Under { Websites And Domains -> prefletter.com -> Hosting Settings for prefletter.com ->php Settings -> Additional directives } I have added two lines:
extension=php_soap.dll
extension=php_soap.so

The second line was added after the first line didn't work.

How may I enable SoapClient in my php code for PrefLetter, which is a subdomain of PrefInfo.com ?
 
What about soap extension in php.ini settings?

OK, that worked. I'm not sure what the purpose of the php settings page in Plesk is for if I have to run phpinfo() and edit the php.ini file anyway, but whatever, it worked.
 
Back
Top