ISPConfig + Wordpress Theme needs simplexml and mcrypt

Discussion in 'Installation/Configuration' started by icebear, Apr 20, 2026 at 5:55 PM.

  1. icebear

    icebear New Member

    hello,
    i run a server with ispconfig (3.2.12p1 on debian 12) and i works well.
    i install a wordpress template that needs simplexml and mcrypt to work correctly. tested with a tool inside the theme.
    So i try to install it on my server, but this error is shown:
    ----
    php -m | grep simplexml
    PHP Warning: PHP Startup: Unable to load dynamic library './ext/simplexml.so' (tried: ./ext/simplexml.so (./ext/simplexml.so: cannot open shared object file: No such file or directory), /usr/lib/php/20220829/./ext/simplexml.so.so (/usr/lib/php/20220829/./ext/simplexml.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    ----
    so how can i solve this problem?
    thx
    the icebear
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    How did you install simplexml?
    What version of PHP is that website running? Is simplexml installed for that PHP version?
    What did this test show?
     
  3. icebear

    icebear New Member

    hello,
    this wordpress theme give a error message with the diagnostic side inside the theme ("failed").
    when i run "php -m | grep simplexml" gives this message
    ----
    PHP Warning: Module "SimpleXML" is already loaded in Unknown on line 0
    Loaded Configuration File: /etc/php/8.2/cli/php.ini
    ----

    i used this for the installation "sudo apt-get install -y php8.2-xml"
    i added in the "sudo nano /etc/php/8.2/cli/php.ini" in the section "dynamic extensions" at last the point
    "extension=simplexml"

    the restart of apache or the system restart does not work to run the simplexml.

    thx
    the icebear
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Undo this step and restart php fpm.
     
  5. icebear

    icebear New Member

    ok, i do ...

    ----
    php --ini | grep "Loaded Configuration File"
    Loaded Configuration File: /etc/php/8.2/cli/php.ini
    ----

    no error, but in the wordpress theme the diagnose tells me "fail"

    how can i check if it runs ok?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Is the PHP mode of the site set to PHP-FPM and PHP version 8.2 is selected?
    2) Did you restart php-fpm with: service php8.2-fpm restart
    (or the matching systemctl command, what's important is that you restart the PHP-FPM Daemon for the right PHP version.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    And if you want to test it, put a info.php file with content:


    Code:
    <?php
    
    phpinfo();
    into the website, call it in a browser and check if simplexml is loaded by PHP. Don't forget to delete that file after your test.
     
  8. icebear

    icebear New Member

    ok i found in the phpinfo:

    SimpleXML
    SimpleXML support enabled
    Schema support enabled

    i thing, that this maybe work ...
     

Share This Page