• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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