Enabling DOMDocument in php

How to enable DOMDocument in php.

Putty SSH Shell Login

Well you can take the time to recompile php, but that’s just a pain. Now if you have SSH Shell access to your linux server running php, this can be pretty easy. I’m running CentOS 5, let me know if this doesn’t work for you. Run the following command in your shell (logged in with root):

BAM! Let it find all the files needed, say YES to download, then let it install and restart your apache to reload all your php and it’s modules.