How to enable SOAP on CentOS

Started by Anderson8, April 18, 2019, 07:36:51 PM

Previous topic - Next topic

Anderson8

We have VPS with CentOS I have installed soap with following command.

yum install php-soap
Then I went to php.ini to un-comment soap extension. It was not there so, I added my own following line.

extension=soap.so
Then i restart server with following command

service httpd restart
But SOAP is still not enabled. as i get Fatal error: Class 'SoapClient' If i try to install it again. I get following message.

Package php-soap-5.3.3-27.el6_5.x86_64 already installed and latest version
I tried to re-configure PHP with following command as well.

Any help?

Igor S.

Hi, you must not use yum anymore. It will broke your system once.
If you need a PHP extension just use PHP Switcher or PHP Selector.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

rohit

Hi,

As per your issue, Please follow the below steps:-

+======+
1. Login to CWP panel.
2. Go to PHP Settings.
3. Click on PHP Pecl Extensions
4. Search soap extension
5. Install version which you want.
6. It will be installed automatically.
7. Restart the Apache to reflect changes.
+======+

Thank You
Rohit Kumar