- Plesk for Windows
- Plesk 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
Download this script into the server and run it to check whether or not it is enabled. If not, the script will enable it:
Connect to the server via SSH
Run the following command to download and run the script:
# wget https://raw.githubusercontent.com/plesk/kb-scripts/0ead0b7853b2e795d0918709f990ba73f7f51a9d/enable-soap-extension/enable-soap-extension.sh && chmod +x enable-soap-extension.sh && ./enable-soap-extension.sh