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 ;)



4 comments:

  1. Thank you very much! (from Italy)

    ReplyDelete
  2. so, how do you enable it? installing is easy! how do you enable?

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Oh btw did you check by restarting the apache? if should work then...

    ReplyDelete

Developer Instincts