How enable PHP soap extension on server in cpanel

How enable PHP soap extension on server in cpanel

August 19, 2026 · Illustrated author avatarBy Stefan Bogdanescu
How enable PHP soap extension on server in cpanel

Enabling the PHP Soap Extension on Your Server via cPanel

If you’re trying to install Magento or any other application that requires the SOAP extension for PHP, you may encounter an error message like this:

Soap Extension Required

Understanding the Error Message

The error indicates that the SOAP extension is not loaded in your PHP installation. This extension enables communication between web applications using the Simple Object Access Protocol (SOAP).

Step-by-Step Guide to Enable the Soap Extension

1. Log In to Your cPanel Account

First, log in to your hosting account’s cPanel interface.

cPanel Login

2. Access the PHP Configuration Interface

Scroll down and locate the “Software” section. Click on the “Setup PHP” or “Select PHP Version” icon, depending on your cPanel version.

PHP Configuration Menu

3. Edit Your Current PHP Configuration

You’ll see a list of available PHP versions along with their configurations. Click on the “Switch to PHP Options” link next to your current PHP version.

Select PHP Options

4. Enable the Soap Extension

In the resulting page, you’ll find a list of enabled and disabled extensions under the “Extensions” tab. Scroll down until you find the “Soap” extension or search for it using the filter box.

Find Soap Extension

If the SOAP extension is currently disabled, click on the “ON” button next to it to enable it.

5. Save Your Changes

After enabling the SOAP extension, scroll down and click the “Save” button at the bottom of the page to apply your changes.

Save PHP Configuration

Confirming the Soap Extension is Enabled

To confirm that the SOAP extension has been enabled successfully:

  1. Click on the “Go back” link in the success message.

  2. Go to the “Multiphp.ini Editor” under the “Advanced” section of your cPanel.

  3. In the text editor, search for “;extension=soap.soap”. If it’s present and preceded by a semicolon (;), this means the extension is disabled.

  4. Remove the semicolon at the beginning of the line to enable the extension:

    extension=soap.soap
    
  5. Click “Update” to save your changes.

After completing these steps, restart your web server to apply the new configuration. You can do this from the “Service Manager” icon in the “Advanced” section of cPanel.

Conclusion

Enabling PHP extensions is a crucial part of ensuring that your applications run smoothly and without errors. In this guide, we demonstrated how to enable the SOAP extension using the built-in tools provided by cPanel.

If you’re looking for more advanced PHP configuration options or need help with Magento installation, consider reaching out to our team at Laravel Company. We offer expert services in Laravel development and e-commerce solutions to help you optimize your web applications.

API Extensions Configuration Customers

Our network