SOAP extension is not loaded - Error Message
0.6 min read
|Problem
A new Magento cart creates a Login To Magento Failed alert, with the error message, SOAP extension is not loaded.
Solution
This error is caused by an incomplete setup of your Magento server. It is telling us that PHP's SOAP extension is not loaded or installed.
Because the way to resolve this can vary depending on many things, the best solution is to contact your Magento hosting provider and ask them to enable the SOAP extension for PHP.
SOAP is the communication protocol used by the Magento API. If it is not enabled on the Magento server, we cannot communicate with it.
If you have a deeper understanding of setting up and installing PHP, please perform a web search for the terms: PHP, Enable SOAP, Your OS. Eg: PHP Enable SOAP CentOs
Common solutions are:
- yum install php-soap
-
apt-get install php-soap
- editing /etc/php.ini and uncommenting the line loading the extension "php_soap.dll" or "php_soap.so"
- Recompiling PHP with the "--enable-soap" option
You will have to restart your web server after making this change.