- Plesk Onyx for Windows
- Plesk Onyx for Linux
How to enable SOAP PHP extension in Plesk?
SOAP classes are shipped and enabled by default in Plesk PHP.
To make sure they are enabled, perform the following actions:
Go to Tools & Settings > PHP Settings and select the required Plesk PHP version (e.g. 7.2.5 FPM application)
SOAP might not be available by default on the OS Vendor PHP
Do the following steps to check if it is available and/or enable it:
Connect to the server via SSH
Run the following command to check whether the class provided by the SOAP module is loaded:
# php -r 'var_dump(class_exists("SoapClient"));'
In case the command above returns the bool(false), install the SOAP module:
# yum install php-soap -y || apt install php-soap -y
Restart the PHP-FPM by OS Vendor:
# service php-fpm restart || service php7.0-fpm restart