(dv) 4.0:Install SOAP using Yum
- This page was last modified on March 28, 2012, at 12:24.
From (mt) Community Wiki
(dv) Dedicated-Virtual 4.0 Servers come with Yum pre-installed. However, the Yum configuration is missing the RPM repository that (mt) Media Temple used for it's PHP packages. So, to use Yum to install PHP SOAP, you'll need to first add the repository. This will allow you to stay up to date with the latest PHP RPMs that are available.
This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by (mt) Media Temple. Please take a moment to review the Statement of Support.
- Add the Remi RPM repository:
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm rpm -Uvh remi-release-5.rpm epel-release-5-4.noarch.rpm
- Enable the Remi RPM Repository:
vi /etc/yum.repos.d/remi.repo
- For information on using vi text editor:
- In the "[remi]" section change "enabled=0" to "enabled=1".
- Save and close the file.
- Update the server:
yum update
- Install PHP SOAP:
yum install php-soap
- Fix MySQL from not starting:
mv /etc/my.cnf /etc/my.cnf.save && mv /etc/my.cnf.rpmnew /etc/my.cnf && service mysqld start
- Upgrade your MySQL tables to 5.5:
mysql_upgrade -uadmin -p`cat /etc/psa/.psa.shadow`
Please note that if you have the Remi and Atomic Rocket Turtle repos installed, this can and will cause problems with your server. Since both repos have conflicting packages, installing a specific package can end up breaking things on your server. Please use one or the other, not both.