Linux – How to enable core PHP extension in Linux

lamplinuxPHP

I'm trying to understand the process for enabling an a core extension (dom) in php. When I run phpinfo, I see '–disable-dom' in the configure command. Am I supposed to re-install PHP?

Best Answer

What linux version are you using? If you are using Centos, you can install dom with command:

yum install php5-dom