Share It

Monday, January 18, 2010

Enable SOAP on CentOS / Fedora

CentOS, Fedora comes with a really good tool YUM.

yum is a software package manager. It is a tool for installing, updating, and removing packages and their dependencies on RPM-based systems. It automatically computes dependencies and figures out what things should occur to install packages. It makes it easier to maintain groups of machines without having to manually update each one using rpm.

So we will use yum to install our SOAP extension. Which we didn't enable while compiling php.

First of all you must be logged in with root.
If you are not you can use su to jump to root.

Now type:
yum install php-soap
This is all you have to do.
If you want to update soap, use this:
yum upgrade php-soap
And to remove it use:
yum remove php-soap
It is far better to recompile php ;)

Share It

Developer Instincts