phpsysinfo / phpsysinfo

phpSysInfo: a customizable PHP script that displays information about your system nicely
http://phpsysinfo.github.io/phpsysinfo
GNU General Public License v2.0
1.38k stars 234 forks source link

phpSysInfo requires the xml extension to php in order to work properly but php-xml is installed! #317

Closed l00nix closed 2 years ago

l00nix commented 2 years ago

Issue:

Trying to run phpsysinfo v3.3.4 on raspios bulleseye 64-bit.

After following the installation steps and instaling php-xml going to the web browser error message is 'phpSysInfo requires the xml extension to php in order to work properly." Even thogugh php-xml is isntalled

To Reproduce Steps to reproduce the behavior:

  1. download latest phpsysinfo
  2. untar tarball in /var/www
  3. cp phpsysinfo.ini.new to phpsysinfo.ini
  4. if not installed install php7.4-xml via sudo apt -y install php7.4-xml
  5. restart apache for good measure

Expected behavior phpsysinfo home page should be displayed when going to the site in a web browser

Screenshots image

image

image

Desktop (please complete the following information):

namiltd commented 2 years ago

The xml module is not loaded (php -m | grep xml), only libxml (not the same). Check your php.ini or files in conf.d, extension=xml.so must be entered.

l00nix commented 2 years ago

Thanks @namiltd, I recreated the environment in raspios bullseye 32-bit and it works. Looks like it is an underlying OS/php issue and not phpsysinfo related.