GithubHelp home page GithubHelp logo

phpsysinfo / phpsysinfo Goto Github PK

View Code? Open in Web Editor NEW
1.4K 1.4K 233.0 10.78 MB

phpSysInfo: a customizable PHP script that displays information about your system nicely

Home Page: http://phpsysinfo.github.io/phpsysinfo

License: GNU General Public License v2.0

PHP 65.47% JavaScript 22.26% XSLT 5.97% HTML 3.19% CSS 3.07% Dockerfile 0.04%

phpsysinfo's Introduction

phpSysInfo

REQUIREMENTS

PHP 5.1.3 or later with SimpleXML, PCRE, XML and DOM extension.

Suggested extensions:

  • mbstring: Required for *nix non UTF-8 systems
  • com_dotnet: Required for Windows environments
  • xsl: Required for static mode
  • json: Required for bootstrap mode

CURRENT TESTED PLATFORMS

  • Linux 2.6+
  • FreeBSD 7+
  • OpenBSD 2.8+
  • NetBSD
  • DragonFly
  • HP-UX
  • Darwin / Mac OS / OS X / iOS
  • Windows 2000 / XP / 2003 / Vista / 2008 / 7 / 2011 / 2012 / 8 / 8.1 / 10 / 10 IoT / 2016 / 2019 / 2022 / 11
  • Android

Platforms currently in progress:

  • Haiku
  • Minix
  • SunOS
  • ReactOS
  • IBM AIX
  • QNX
  • GNU Hurd
  • FortiOS (via SSH)
  • DrayOS (via SSH)

If your platform is not here try checking out the mailing list archives or the message boards on Github.

INSTALLATION AND CONFIGURATION

Typical installation

Just decompress and untar the source (which you should have done by now, if you're reading this...), into your webserver's document root.

There is a configuration file called phpsysinfo.ini.new. If this a brand new installation, you should copy this file to phpsysinfo.ini and edit it.

  • make sure your php.ini file's include_path entry contains "."
  • make sure your php.ini has safe_mode set to 'off'.

phpSysInfo require php-xml extension.

Please keep in the mind that because phpSysInfo requires access to many files in /proc and other system binary you MUST DISABLE php's safe_mode. Please see the PHP documentation for information on how you can do this.

That's it. Restart your webserver (if you changed php.ini), and voila.

Docker container installation

KNOWN PROBLEMS

  • phpSysInfo is not compatible with SELinux Systems
  • small bug under FreeBSD with memory reporting

PLATFORM SPECIFIC ISSUES

Windows with IIS

On Windows systems we get our informations through the WMI interface. If you run phpSysInfo on the IIS webserver, phpSysInfo will not connect to the WMI interface for security reasons. At this point you MUST set an authentication mechanism for the directory in the IIS admin interface for the directory where phpSysInfo is installed. Then you will be asked for an user and a password when opening the page. At this point it is necessary to log in with an user that will be able to connect to the WMI interface. If you use the wrong user and/or password you might get an "ACCESS DENIED ERROR".

SENSOR RELATED INFORMATION

MBM5

Make sure you set MBM5 Interval Logging to csv and to the data directory of phpSysInfo. The file must be called MBM5. Also make sure MBM5 doesn't add symbols to the values. This is a Quick MBM5 log parser, need more csv logs to make it better.

WHAT TO DO IF IT DOESN'T WORK

First make sure you've read this file completely, especially the "INSTALLATION AND CONFIGURATION" section. If it still doesn't work then you can:

Ask for help or submit a bug on Github (https://github.com/phpsysinfo/phpsysinfo/issues)

!! If you have any problems, please set DEBUG to true in phpsysinfo.ini and include any error messages in your bug report / help request !!

OTHER NOTES

If you have a great idea or want to help out, just create a pull request with your change proposal in the phpSysInfo repository.

LICENSING

This program is released under the GNU Public License Version 2 or (at your option) any later version, see COPYING for details.

phpsysinfo's People

Contributors

ashus avatar cfuerst avatar chrizathens avatar davidgoodwin avatar den67rus avatar dongbum avatar eisler avatar gemorroj avatar hawkeyexp avatar joszz avatar m-chevalier avatar maflo321 avatar mambax7 avatar milad-abooali avatar namiltd avatar nightflyza avatar nikken12 avatar ozzieisaacs avatar rk4an avatar robho avatar sdskykloud avatar studiokris avatar tas50 avatar terrywang avatar theel0ja avatar totpero avatar uroshekic avatar wilburwalsh avatar yehudaei avatar yshalsager avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phpsysinfo's Issues

Error with open_basedir restriction...?

In php.ini opan_basedir not set (btw i tried off / on... nothing).
Also problem with any version of phpsysinfo

Error:

OH, I'M SORRY. SOMETHING SEEMS TO BE WRONG.
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : file_exists(): open_basedir restriction in effect. File(/proc/sys/kernel/hostname) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 284
file_exists(/proc/sys/kernel/hostname)

the file does not exist on your machine

./xml.php on line 56
./includes/output/class.WebpageXML.inc.php on line 151 in function run()
./includes/xml/class.XML.inc.php on line 556 in function getXml()
./includes/xml/class.XML.inc.php on line 535 in function _buildXml()
./includes/os/class.OS.inc.php on line 81 in function getSys()
./includes/os/class.Linux.inc.php on line 962 in function build()
./includes/os/class.Linux.inc.php on line 67 in function _hostname()
./includes/class.CommonFunctions.inc.php on line 316 in function rfts( "/proc/sys/kernel/hostname", NULL, 1 )
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : file_exists(): open_basedir restriction in effect. File(/var/log/dmesg) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 284
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : file_exists(): open_basedir restriction in effect. File(/proc/uptime) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 284
file_exists(/proc/uptime)

the file does not exist on your machine

./xml.php on line 56
./includes/output/class.WebpageXML.inc.php on line 151 in function run()
./includes/xml/class.XML.inc.php on line 556 in function getXml()
./includes/xml/class.XML.inc.php on line 535 in function _buildXml()
./includes/os/class.OS.inc.php on line 81 in function getSys()
./includes/os/class.Linux.inc.php on line 966 in function build()
./includes/os/class.Linux.inc.php on line 135 in function _uptime()
./includes/class.CommonFunctions.inc.php on line 316 in function rfts( "/proc/uptime", NULL, 1 )
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : file_exists(): open_basedir restriction in effect. File(/proc/cpuinfo) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 284
file_exists(/proc/cpuinfo)

the file does not exist on your machine

./xml.php on line 56
./includes/output/class.WebpageXML.inc.php on line 151 in function run()
./includes/xml/class.XML.inc.php on line 556 in function getXml()
./includes/xml/class.XML.inc.php on line 535 in function _buildXml()
./includes/os/class.OS.inc.php on line 81 in function getSys()
./includes/os/class.Linux.inc.php on line 968 in function build()
./includes/os/class.Linux.inc.php on line 246 in function _cpuinfo()
./includes/class.CommonFunctions.inc.php on line 316 in function rfts( "/proc/cpuinfo", NULL )
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : file_exists(): open_basedir restriction in effect. File(/proc/pci) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 284
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/proc/ide) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 362
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : file_exists(): open_basedir restriction in effect. File(/proc/scsi/scsi) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 284
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : file_exists(): open_basedir restriction in effect. File(/proc/bus/usb/devices) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 284
errorHandlerPsi :

PHP throws a error
Level : 2 Message : file_exists(): open_basedir restriction in effect. File(/proc/net/dev) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 284
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : file_exists(): open_basedir restriction in effect. File(/proc/meminfo) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 284
file_exists(/proc/meminfo)

the file does not exist on your machine

./xml.php on line 56
./includes/output/class.WebpageXML.inc.php on line 151 in function run()
./includes/xml/class.XML.inc.php on line 556 in function getXml()
./includes/xml/class.XML.inc.php on line 535 in function _buildXml()
./includes/os/class.OS.inc.php on line 81 in function getSys()
./includes/os/class.Linux.inc.php on line 974 in function build()
./includes/os/class.Linux.inc.php on line 619 in function _memory()
./includes/class.CommonFunctions.inc.php on line 316 in function rfts( "/proc/meminfo", NULL )
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : is_dir(): open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 113
errorHandlerPsi :

PHP throws a error
Level : 2 Message : file_exists(): open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/stardust/web:/home/stardust/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) File : /home/stardust/web/stardust.3dfight.com/public_html/includes/class.CommonFunctions.inc.php Line : 284
file_exists(/proc/loadavg)

the file does not exist on your machine

./xml.php on line 56
./includes/output/class.WebpageXML.inc.php on line 151 in function run()
./includes/xml/class.XML.inc.php on line 556 in function getXml()
./includes/xml/class.XML.inc.php on line 535 in function _buildXml()
./includes/os/class.OS.inc.php on line 81 in function getSys()
./includes/os/class.Linux.inc.php on line 976 in function build()
./includes/os/class.Linux.inc.php on line 163 in function _loadavg()
./includes/class.CommonFunctions.inc.php on line 316 in function rfts( "/proc/loadavg", NULL )

Process Status

How to Enable the Process Status,Quota Status,S.M.A.R.T Informations,RAID Status,Battery Status ? Is the Demo and my Installation is not same information showing.

PhpSysInfo screenshots usage

Hi,

Please clarify if it is allowed to use PhpSysInfo screenshots in the following cases (please point restrictions if they apply):

  1. Internal organization/company usage,
  2. Usage within ecosystem, partners and cooperating companies with signed NDAs and agreements,
  3. Public usage on conferences and lectures.

Screenshot are to be used within documentation and presentations.
Kind regards,
Tomasz Zieleniewski

errorHandlerPsi - Level : 8 Message : Undefined offset: 0

Hey Guys,

I got the following error message with an default 3.2.0 Version without any changes.


errorHandlerPsi :

PHP throws a error
Level : 8 Message : Undefined offset: 0 File : /home/tracker/mobile/phpsysinfo/plugins/ps/class.ps.inc.php Line : 127


System Info:


Kernel Version 3.2.13-grsec-xxxx-grs-ipv6-64 (SMP) x86_64
Distributionsname Icon Debian GNU/Linux 7 (wheezy)

My config says


PLUGINS=PS,PSStatus


I created the txt files in /data as written in the ini File and set the permissions to the nginx-web-user.

Did i miss something or it is realy a unknowing bug?

Br

smart info for raid device

in current code, it will always to use --device parameter if we assign a value to DEVICE in [smart] section, so we only can get smart info for normal device or raid device, not both of them.

It's better to merge DEVICE into DEVICES, then we can get smart info for both of them.
for example:
DEVICES="/dev/sda,device_megaraid.14_/dev/sdb"
DEVICE=false

diff -Nur phpsysinfo-3.1.11.orig/plugins/smart/class.smart.inc.php phpsysinfo-3.1.11/plugins/smart/class.smart.inc.php
--- phpsysinfo-3.1.11.orig/plugins/smart/class.smart.inc.php    2014-03-07 15:18:46.000000000 +0800
+++ phpsysinfo-3.1.11/plugins/smart/class.smart.inc.php 2014-03-18 16:13:45.440125081 +0800
@@ -60,8 +60,13 @@
                         $disks = array(PSI_PLUGIN_SMART_DEVICES);
                     }
                     foreach ($disks as $disk) {
+                        // --device_megaraid.14_/dev/sdb
+                        if (substr($disk, 0, 7) == 'device_')
+                            $disk_str = '--'.str_replace(array('_', '.'), array(' ', ','), $disk);
+                        else
+                            $disk_str = $disk;
                         $buffer = "";
-                        if (CommonFunctions::executeProgram('smartctl', '--all'.((PSI_PLUGIN_SMART_DEVICE) ? ' --device '.PSI_PLUGIN_SMART_DEVICE : '').' '.$disk, $buffer, PSI_DEBUG)) {
+                        if (CommonFunctions::executeProgram('smartctl', '--all'.((PSI_PLUGIN_SMART_DEVICE) ? ' --device '.PSI_PLUGIN_SMART_DEVICE : '').' '.$disk_str, $buffer, PSI_DEBUG)) {
                             $this->_filecontent[$disk] = $buffer;
                         }
                     }

Coretemp on FreeBSD issues

Hello,

I've been unable to get phpsysinfo to display CPU temperatures in FreeBSD using the coretemp plugin. The issue seems to be on line 40 of includes/mb/class.coretemp.inc.php:

 if (CommonFunctions::executeProgram('sysctl', '-n dev.cpu.'.$i.'.temperature', $temp)) {

That code seems to expect a plain number to be returned from the sysctl command, however I've tested the output on 2 FreeBSD installs ( 9.3 and 10.1), and both return a result with a trailing C.

This causes the script to not return a temperature and I'm left with "--" as the result on the page.

For now, I've implemented my own quick and dirty fix to make it work:

 if (CommonFunctions::executeProgram('sysctl', '-n dev.cpu.'.$i.'.temperature', $tempt)) {
                $temp = preg_replace('/C/', '', $tempt);

This has solved the issue for now, but is hardly ideal.

Missing Red Hat distro

Red Hat Enterprise Linux Client release is missing in the distro.ini file.

Distribution ID: RedHatEnterpriseClient

This covers (at a minimum) Red Hat Enterprise 5 Desktop, Red Hat Enterprise 5 Workstation.

[RedHatEnterpriseClient]
Image = "Redhat.png"
Files = "/etc/redhat_version"
;detected in "/etc/redhat-release"

NUT UPS Plug In Issues

class.nut.inc assumes that NUT is running on localhost.

It does "upcs -l" which will not work if you're trying to get data from another machine running NUT. (Well unless you have NUT running and just proxying to other machines).

Should just do UPS_NUTD_LIST like UPS_APCUPSD_LIST and do upsc UPS@IP:PORT

Also need to add:

$dev->setTimeLeft($this->_checkIsSet($ups_data, 'battery.runtime') / 60);

... to get runtime remaining. (It's usually returned in seconds so need to divide by 60 to get minutes.)

Exploitable eval() in CommonFunctions::getWMI()

eval() function is used in CommonFunctions::getWMI() around line 508:

eval("\$value = \$objItem->".$propItem->Name.";");

Using eval() is dangerous, especially when it is constructed from an incoming variable.

I suggest replacing it with:

$value = $objItem->{$propItem->Name};

Test with PHP 5.3, works fine.

Error Show

Hello,

I have this error when i go to view /phpsysinfo/index.php?disp=dynamic, How to fix on this bug issue. I am using PHP 5.4.31 With Apache 2.4.10.

Fatal error: Class 'Webpage' not found in /home/user/public_html/phpsysinfo/index.php on line 56

IPv6 address

Hi,

would it be possible to add the listening IPv6 address, just like for IPv4 addresses?

Thanks!

Larger size icons

Displaying icon of distribution in larger size (90x90 pixels like on distrowatch.com) and displaying the name or icon of system type (Linux, WINNT, Darwin etc).

Loading nonexistent template

Hi, I uploaded this to my server but for some reason the default template option set in config INI file does not work. The page is white as if no CSS was loaded. I've checked by firebug and it said that the page is trying to load some file /templates/classic.css which does not exist. When I rename (or copy) the desired template to classic.css it works.

Using version 3.1.4.

xml validation fail

Hi!
I think you must update your XSD schema. I had found some issue, first at all this one:

# wget http://phpsysinfo.sourceforge.net/phpsysinfo/xml.php?plugin=complete -O test.xml

# xmllint --noout --schema "http://phpsysinfo.sourceforge.net/phpsysinfo3.xsd" test.xml 
test.xml:2: element Generation: Schemas validity error : Element 'Generation': This element is not expected. Expected is ( {http://phpsysinfo.sourceforge.net/}Generation ).
test.xml fails to validate

Then:

element Vitals: Schemas validity error : Element '{http://phpsysinfo.sourceforge.net/}Vitals', attribute 'Uptime': '232840.25' is not a valid value of the atomic type 'xs:unsignedLong'.

element CpuCore: Schemas validity error : Element '{http://phpsysinfo.sourceforge.net/}CpuCore', attribute 'Bogomips': '4988.95' is not a valid value of the local atomic type.

Danilo

Can't Monitor Multple UPSes with Mixed Types?

I have two UPSes, one is connected to a series of NAS RAID arrays and it uses NUT. Another runs on Windows Server and uses APCUPSD (mostly cause the CGI for NUT does not work on Windows).

However, UPS_PROGRAM="Nut,Apcupsd" appears to break phpsysinfo 3.1.11 badly (it freezes on "Loading... please wait!" and is never seen again...

OS: Windows Server 2008 R2
HTTPD: IIS 7.5
PHP: 5.4.12 (yeah I know I need to upgrade)

Fatal error: Call to a member function addAttribute() on null

Hello, I have follow the instructions to put the phpsysinfo to the root of the web server and all the configurations, however when I start browsing the /phpsysinfo-3.1.17/index.php?disp=dynamic, It holds for a long time, showing,

"Loading... please wait!"
2015-01-05 19 24 57

If I go to "/phpsysinfo/index.php?disp=static" directly, another error message:

"Fatal error: Call to a member function addAttribute() on null in C:\xampp_new\htdocs\phpsysinfo\includes\xml\class.SimpleXMLExtended.inc.php on line 148"

will be shown,
as I am using xampp as the web server tool, I don't know if there are any relationship between the error and the XAMPP.

Open base dir

Open_basedir = If is in / the script crashes

We must review the condition on line 103

Large logo

I would like to add this as a add-on to my NAS, but it's required a logo that's at least 150x150.
It's possible to get a larger version of the logo?

Thanks

500 Error for xml.php?

I'm getting 500 error when I try to load xml.php directly and a 404 error when I try to load the index.php file... any suggestions?

PfSense Update

Hello,

is it possible to update your plugin for pfSense to the newest version of phpsysinfo. This would be awesome, as the usage of your JSON and XML API would be a big deal.

Thank you in advance for your answer

Composer package

It would be nice to turn this nice library to composer package. What do you think?

Update function

Is it possible to check if the phpsysinfo is at the lastest version. Over stock function in php.

3.1.1 not working for me

Hi

After downloading and renaming phpsysinfo.ini.new to phpsysinfo.ini without any other modifications, phpsysinfo says it can't find phpsysinfo.ini and does not work...

Solution?

Bootstrap theme on raspberry

Hi,

I have a raspberry with raspbian and apache2 and i am using phpsysinfo to monitor this raspberry. I tried to switch to the bootstrap theme but I only get fonts and symbols on a white background. The bootstrap theme doesn't work on my configuration. Do I need extra packages for the bootstrap theme?

#question psstatus

Hi there,

I have PSI running on a RPI2 and I want to monitor the process status of some processes like:
Couchpotato, Headphones, ddclient, sickbeard.

the problem is that PSI is using by default pidof and this is not able to get the PID for this processes.
I guess because of this:
root@osmc:/home/luci# ps aux | grep couchpotato
couch 407 0.6 5.9 107156 45468 ? Sl Feb23 4:47 /usr/bin/python CouchPotato.py --quiet --daemon --pid_file=/data/couchpotato/couchpotato.pid --data_dir=/var/couchpotato

root@osmc:/home/luci# ps aux | grep headphones
headpho+ 459 0.3 4.9 226432 37768 ? Sl Feb23 2:39 /usr/bin/python /data/headphones/Headphones.py --quiet --daemon --nolaunch --pidfile=/data/headphones/headphones.pid --datadir=/data/headphones --config=/data/headphones/config.ini

root@osmc:/home/luci# ps aux | grep ddclient
root 300 0.0 0.8 10332 6136 ? S Feb23 0:05 ddclient - sleeping for 70 seconds

So this processes are not identified by their name.

Is there any way to configure psstatus to identify this processes ?
I tried it using psstatus.txt in /data folder ..but didn't manage to make it run.
Any advice or pointing me to some documentation or a simple example on how to implement this would be more then appreciated .
10x

CPUs Usage Status

Hello
Please can you try add option for CPUs Usage Status? Than can show CPUs Process Status.
Thanks

Bootstrap mem graph wierd

I sometimes have a wierd issue with the memory graph in bootstrap mode. If the rounded percentage goes over 100%, the graph is not drawn completely.

image

Config "DEFAULT_TEMPLATE" Not Working

Windows 7 x64
Using Firefox Vers. 36.0.1
Under phpsysinfo.ini
parameter DEFAULT_TEMPLATE does not change or set anything for the info board.
Upon changing any values here, there doesn't appear to be any changes at all.
Using the latest revision.

Network Usage doesn't show anything for any networks on the system.

SMART Status is empty.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.