Trying to migrate a symfony system to a new server. It show me “PHP Fatal error: Class ‘DOMDocument’ not found in…” when i click on some link. After some checking, the problem actually caused by a missing module – php xml module. Install the module will solve the problem 🙂
To solve “PHP Fatal error: Class ‘DOMDocument’ not found in”, follow the steps below:-
Advertisements
- You must ssh to your system using root
- Now install the xml module in php using yum (yum is only available in selected linux distribution eg: CentOS, RedHat, Fedora, etc)
yum install php-xml
just press ‘Y’ to install the dependencies module.
- Once the installation finish, you need to restart your apache and the error message “Class ‘DOMDocument’ not found” will go away!
service httpd restart
Related posts:
Speed Up and Save Your Website Bandwidth with GZip Compression
Symfony 1.4 - Customize Admin Generator listing to show data from foreign tables
How to import contacts from SIM card to nokia N900
How to re-arrange account order in Thunderbird
How to import contacts from Mac to Nokia N900
How to create App Tab in Firefox 5
Free Project Management software for Mac OS X - GanttProject
MySQL 5.5 PDO::__construct(): The server requested authentication method unknown to the client [mysq...
Share this with your friends:-