HostOnNet Blog

MediaWiki Upgrade error PHP Fatal error: Class ‘DOMDocument’ not found

Looking for Linux Server Admin or WordPress Expert? We can help.

When upgrading MediaWiki on WebHostingNeeds.com, i got following error

...doing rev_id from 4801 to 5000
...doing rev_id from 5001 to 5200
PHP Fatal error:  Class 'DOMDocument' not found in /home/webhost/public_html/includes/cache/LocalisationCache.php on line 650
Fatal error: Class 'DOMDocument' not found in /home/webhost/public_html/includes/cache/LocalisationCache.php on line 650
[root@server70 maintenance]#

This is fixed by installing php-domxml module and restarting apache.

yum install -y php-domxml-php4-php5
service httpd restart

Posted in PHP

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.