Skip to main content
We are aware of an issue after updating to cPanel versions 11.110.0.65, 11.126.0.21, or 11.128.0.11, some cPanel plugins or features are no longer functioning properly including WP Toolkit. Please see the following article for more information and updates:
Update to latest cPanel 110, 126, or 128 versions removes "addonfeatures" directory.

PHP simplexml disabled

Comments

4 comments

  • cPanelMichael
    Hello, You can disable this module for PHP 5.6 by editing the following file:
    /opt/cpanel/ea-php56/root/etc/php.d/simplexml.ini
    It will look like this after editing the file to disable the module:
    ; Enable simplexml extension module ; extension=simplexml.so
    Then, restart Apache:
    /scripts/restartsrv_httpd
    Thank you.
    0
  • SunHunter
    I am having exactly the same problem as the original poster. The reply given above tells you how to *disable* the extension and not how to enable it. My phpinfo is pretty much the same as the OP, the important line as above is phpinfo '--disable-xml' '--disable-simplexml' How do you *enable* simplexml? Thank you (didn't want to create a duplicate post).
    0
  • SunHunter
    Solved my own problem. Not sure it's the correct way of things (or a permanent solution) but ran: yum install ea-php56-php-xml ... and has fixed the problem (when I run phpinfo the simplexml module is now loaded). Hope this helps someone else.
    0
  • cool_recep
    Having a similar issue with Opcache. It looks disabled and can't enable.
    libdir=/opt/cpanel/ea-php74/root/usr/lib64/php' '--enable-litespeed' '--without-mysqli' '--disable-pdo' '--disable-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-opcache' '--disable-xmlreader' '--disable-xmlwriter' '--
    0

Please sign in to leave a comment.