Enable SOAP on Media Temple DV Managed

Media Temple’s knowledgebase has a good article on how to enable SOAP on a DV Managed server;

https://kb.mediatemple.net/questions/1947/Configure+PHP+with+SOAP#dv_managed

However, when you get to the section that says

NOTE: If you receive an error similar to the following, you will need to install libxml2:

You might also encounter the following error (as I did);

no acceptable C compiler found in $PATH

The answer to this is lies in the comments section of this Stackoverflow answer. Basically you need to install a precomiled version of gcc, so if you are using a Fedora based OS like me that would be;

yum install gcc

I then got the libxml2 issue, solved as pe the Media Temple docs with;

yum install libxml2-devel