(dv) 4.0:Install SOAP using Yum

  • This page was last modified on March 28, 2012, at 12:24.
The (mt) Community Wiki is a collaborative project. Any (mt) Media Temple customer or employee may contribute. Not all articles and/or content have been tested for accuracy by (mt) Media Temple.

For officially moderated and tested articles, be sure to visit our KnowledgeBase.

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.

  1. 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 
  2. Enable the Remi RPM Repository:
    vi /etc/yum.repos.d/remi.repo 
    For information on using vi text editor:
    Understanding basic vi (visual editor)
  3. In the "[remi]" section change "enabled=0" to "enabled=1".
  4. Save and close the file.
  5. Update the server:
    yum update 
  6. Install PHP SOAP:
    yum install php-soap 
  7. Fix MySQL from not starting:
    mv /etc/my.cnf /etc/my.cnf.save && mv /etc/my.cnf.rpmnew /etc/my.cnf && service mysqld start 
  8. 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.