Plesk for Windows
Plesk for Linux
kb: how-to
ABT: Group B
Applicable to:
- Plesk for Windows
- Plesk for Linux
Question
How to enable SOAP PHP extension in Plesk?
Answer
For Plesk PHP
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)
For OS Vendor PHP (Linux only)
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 the script:
# wget https://support.plesk.com/hc/en-us/article_attachments/360011967119/213383629 && chmod +x 213383629 && ./213383629
Comments
4 comments
I have not got an option of soap to tick
Hello @Brian,
SOAP is available out of the box for PHP versions provided by Plesk.
As I can see from the screenshot, you are trying to enable SOAP for PHP provided by OS vendor. In such case, you should install SOAP on your own for instructions contact OS support.
Hi Alex,
Here are my suggestions:
1. Choose the appropriate version of PHP (with SOAP enabled) for the domain and make sure that the correct version is applied at Domains - example.com - PHP Settings - View the phpinfo() page.
2. If your server is running CloudLinux, you may need to check PHP settings and modules under Domains - example.com - PHP Selector on the right sidebar
Please sign in to leave a comment.