• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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