Downgrade Libxml module
How can I downgrade php module libxml from 2.11.1 to 2.10.2 or 2.9.4 ?
-
Hey there! Is there a specific issue you're having with the tool that requires you to downgrade? You can always use the "yum downgrade ea-libxml2" command to see if your system has the older versions available. 0 -
There is a bug in 2.11.1 and loading xml files properly (from 3500 entries gets only 450) I already done this before I post but the problem is that in centos I get Installed: ea-libxml2.x86_64 0:2.10.4-1.1.1.cpanel but in php info page I get libxml version: 2.11.1 The plugin now see all 3500 entries from xml but get error 500 when try to import 0 -
After the downgrade you may need to restart Apache to ensure those changes are loaded. 0 -
Already done that but still get the same values in php info page 0 -
Do you have any caching tools like nginx that could be displaying the older value? Do you see the correct value when running this command on the server? php -i | grep libxml0 -
libxml Version => 2.11.1 libxml2 Version => 2.11.1 libxslt compiled against libxml Version => 2.9.1 On yum info ea-libxml2 get Version: 2.10.4 0 -
No I haven't any caching tools 0 -
I reached out to the developers about this situation and confirmed that the PHP packages are built with version 2.11.1, so even if you downgrade the libxml package itself, it will continue to report the newer version as that is what PHP will use. However, since PHP was already built with the newer version, the PHP Info details will not update. You mentioned there was a bug report on this - can you provide a link to that? I wasn't able to find that with my search. 0
Please sign in to leave a comment.
Comments
8 comments