Author Topic: How to enable SOAP on CentOS  (Read 6934 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to enable SOAP on CentOS
« on: April 18, 2019, 07:36:51 PM »
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?

Offline
*****
Re: How to enable SOAP on CentOS
« Reply #1 on: April 19, 2019, 11:47:55 AM »
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

Offline
*
Re: How to enable SOAP on CentOS
« Reply #2 on: May 01, 2019, 11:58:21 PM »
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