MediaTemple’s DV server is an excellent choice if you need to host multiple sites, resell hosting, or just need more power than shared hosting can provide. However one key feature is missing out of the box required for utilizing web services. PHP must be compiled with SOAP (for you to use Magento‘s web services for example).
You will first need root SSH access which can be enabled via MT’s “Root Access & Developer Tools” in the Account Center. Note: enabling SSH is a potential security risk so make sure you use a strong password (updated 4/25/17) or you can also try the generator here: http://comparitech.net/password-strength. Note: I have no affiliation with either of these sites, the key is to always use unique, strong passwords for your accounts.
Open your terminal (use putty or just use Terminal.app in OSX), and SSH into your server using root.
- Navigate to a relatively unimportant directory. I chose /home/
- Download PHP
- Unpack the PHP file
tar -zxf php-5.2.6.tar.gz
- Configure the new PHP to enable SOAP (will take a few minutes) (before enable is two dashes)
- Rebuild PHP (this will also take a while)
- Copy just the SOAP module into your existing installation of PHP
cp modules/soap.so /usr/lib/php/modules/
- Add the new SOAP configuration to your existing configuration
echo "extension=soap.so" > /etc/php.d/soap.ini
- Restart Apache
- Optional: You can now delete /home/php-5.2.6/ if you’d like, as you won’t need it any longer.
rm -rf /home/php-5.2.6/
- Check phpinfo() to confirm that SOAP is now enabled.
These instructions were originally posted here.