How can the PHP configuration file (php.ini) be modified to enable PHP extensions like DOM XML?
To enable PHP extensions like DOM XML, you can modify the php.ini file by uncommenting the extension you want to enable. Locate the line that starts with ";extension=dom" and remove the semicolon at the beginning of the line. Save the php.ini file and restart your web server for the changes to take effect.
; Enable DOM extension
extension=dom