Question
php-xml uninstallable on CentOS
WordPress Import Pluging is causing WordPress white screen of death.
WordPress debugger gives me following error.
Fatal error: Class 'DOMDocument' not found in /var/www/wordpress/wp-content/plugins/wordpress-importer/parsers.php on line 61
It can be fixed by installing php-xml as reported in this thread http://wordpress.org/support/topic/fatal-error-class-domdocument-not-found
I get following errors when I install php-xml
sudo yum install php-xml
[sudo] password for donnie:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.linux.duke.edu
* epel: epel.mirror.constant.com
* extras: mirror.linux.duke.edu
* updates: centosc6.centos.org
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-xml.i686 0:5.3.3-23.el6_4 will be installed
--> Processing Dependency: php-common(x86-32) = 5.3.3-23.el6_4 for package: php-xml-5.3.3-23.el6_4.i686
--> Finished Dependency Resolution
Error: Package: php-xml-5.3.3-23.el6_4.i686 (updates)
Requires: php-common(x86-32) = 5.3.3-23.el6_4
Installed: php-common-5.4.21-2.el6.remi.i686 (@remi)
php-common(x86-32) = 5.4.21-2.el6.remi
Available: php-common-5.3.3-22.el6.i686 (base)
php-common(x86-32) = 5.3.3-22.el6
Available: php-common-5.3.3-23.el6_4.i686 (updates)
php-common(x86-32) = 5.3.3-23.el6_4
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×