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
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?
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
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?
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.
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.
ok i found in the phpinfo: SimpleXML SimpleXML support enabled Schema support enabled i thing, that this maybe work ...