• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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