Subversion Repositories ALCASAR

Rev

Rev 3037 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3037 Rev 3100
1
phpSysInfo
1
phpSysInfo
2
==============
2
==============
3
 
3
 
4
* Copyright (c), 1999-2008, Uriah Welcome ([sf.net/users/precision](https://sf.net/users/precision))
4
* Copyright (c), 1999-2008, Uriah Welcome ([sf.net/users/precision](https://sf.net/users/precision))
5
* Copyright (c), 1999-2009, Michael Cramer ([sf.net/users/bigmichi1](https://sf.net/users/bigmichi1))
5
* Copyright (c), 1999-2009, Michael Cramer ([github.com/bigmichi1](https://github.com/bigmichi1), [sf.net/users/bigmichi1](https://sf.net/users/bigmichi1))
6
* Copyright (c), 2007-2008, Audun Larsen ([sf.net/users/xqus](https://sf.net/users/xqus))
6
* Copyright (c), 2007-2008, Audun Larsen ([sf.net/users/xqus](https://sf.net/users/xqus))
7
* Copyright (c), 2007-2015, Erkan Valentin ([github.com/rk4an](https://github.com/rk4an), [sf.net/users/jacky672](https://sf.net/users/jacky672))
7
* Copyright (c), 2007-2015, Erkan Valentin ([github.com/rk4an](https://github.com/rk4an), [sf.net/users/jacky672](https://sf.net/users/jacky672))
8
* Copyright (c), 2009-2022, Mieczyslaw Nalewaj ([github.com/namiltd](https://github.com/namiltd), [sf.net/users/namiltd](https://sf.net/users/namiltd))
8
* Copyright (c), 2009-2022, Mieczyslaw Nalewaj ([github.com/namiltd](https://github.com/namiltd), [sf.net/users/namiltd](https://sf.net/users/namiltd))
9
* Copyright (c), 2010-2012, Damien Roth ([sf.net/users/iysaak](https://sf.net/users/iysaak))
9
* Copyright (c), 2010-2012, Damien Roth ([sf.net/users/iysaak](https://sf.net/users/iysaak))
10
 
10
 
11
 
11
 
12
REQUIREMENTS
12
REQUIREMENTS
13
------------
13
------------
14
 
14
 
15
PHP 5.1.3 or later with SimpleXML, PCRE, XML and DOM extension.
15
PHP 5.1.3 or later with SimpleXML, PCRE, XML and DOM extension.
16
 
16
 
17
#### Suggested extensions:
17
#### Suggested extensions:
18
- mbstring: Required for *nix non UTF-8 systems
18
- mbstring: Required for *nix non UTF-8 systems
19
- com_dotnet: Required for Windows environments
19
- com_dotnet: Required for Windows environments
20
- xsl: Required for static mode
20
- xsl: Required for static mode
21
- json: Required for bootstrap mode
21
- json: Required for bootstrap mode
22
 
22
 
23
CURRENT TESTED PLATFORMS
23
CURRENT TESTED PLATFORMS
24
------------------------
24
------------------------
25
 
25
 
26
- Linux 2.6+
26
- Linux 2.6+
27
- FreeBSD 7+
27
- FreeBSD 7+
28
- OpenBSD 2.8+
28
- OpenBSD 2.8+
29
- NetBSD
29
- NetBSD
30
- DragonFly
30
- DragonFly
31
- HP-UX
31
- HP-UX
32
- Darwin / Mac OS / OS X
32
- Darwin / Mac OS / OS X / iOS
33
- Windows 2000 / XP / 2003 / Vista / 2008 / 7 / 2011 / 2012 / 8 / 8.1 / 10 / 10 IoT / 2016 / 2019 / 2022 / 11
33
- Windows 2000 / XP / 2003 / Vista / 2008 / 7 / 2011 / 2012 / 8 / 8.1 / 10 / 10 IoT / 2016 / 2019 / 2022 / 11
34
- Android
34
- Android
35
 
35
 
36
#### Platforms currently in progress:
36
#### Platforms currently in progress:
37
- Haiku
37
- Haiku
38
- Minix
38
- Minix
39
- SunOS
39
- SunOS
40
- ReactOS
40
- ReactOS
41
- IBM AIX
41
- IBM AIX
42
- QNX
42
- QNX
-
 
43
- GNU Hurd
-
 
44
- FortiOS (via SSH)
-
 
45
- DrayOS (via SSH)
43
 
46
 
44
If your platform is not here try checking out the mailing list archives or
47
If your platform is not here try checking out the mailing list archives or
45
the message boards on SourceForge.
48
the message boards on SourceForge.
46
 
49
 
47
INSTALLATION AND CONFIGURATION
50
INSTALLATION AND CONFIGURATION
48
------------------------------
51
------------------------------
49
 
52
 
50
#### Typical installation
53
#### Typical installation
51
 
54
 
52
Just decompress and untar the source (which you should have done by now,
55
Just decompress and untar the source (which you should have done by now,
53
if you're reading this...), into your webserver's document root.
56
if you're reading this...), into your webserver's document root.
54
 
57
 
55
There is a configuration file called phpsysinfo.ini.new. If this a brand new
58
There is a configuration file called phpsysinfo.ini.new. If this a brand new
56
installation, you should copy this file to phpsysinfo.ini and edit it.
59
installation, you should copy this file to phpsysinfo.ini and edit it.
57
 
60
 
58
- make sure your `php.ini` file's `include_path` entry contains "."
61
- make sure your `php.ini` file's `include_path` entry contains "."
59
- make sure your `php.ini` has `safe_mode` set to 'off'.
62
- make sure your `php.ini` has `safe_mode` set to 'off'.
60
 
63
 
61
phpSysInfo require php-xml extension.
64
phpSysInfo require php-xml extension.
62
 
65
 
63
Please keep in the mind that because phpSysInfo requires access to many
66
Please keep in the mind that because phpSysInfo requires access to many
64
files in `/proc` and other system binary you **MUST DISABLE** `php's safe_mode`.
67
files in `/proc` and other system binary you **MUST DISABLE** `php's safe_mode`.
65
Please see the PHP documentation for information on how you
68
Please see the PHP documentation for information on how you
66
can do this.
69
can do this.
67
 
70
 
68
That's it.  Restart your webserver (if you changed php.ini), and voila.
71
That's it.  Restart your webserver (if you changed php.ini), and voila.
69
 
72
 
70
#### Docker container installation
73
#### Docker container installation
71
 
74
 
72
- `sudo docker build -t phpsysinfo github.com/phpsysinfo/phpsysinfo#main`
75
- `sudo docker build -t phpsysinfo github.com/phpsysinfo/phpsysinfo#main`
73
- `sudo docker run -i -p 8080:80 -t phpsysinfo`
76
- `sudo docker run -i -p 8080:80 -t phpsysinfo`
74
- go to http://localhost:8080/phpsysinfo/
77
- go to http://localhost:8080/phpsysinfo/
75
 
78
 
76
KNOWN PROBLEMS
79
KNOWN PROBLEMS
77
--------------
80
--------------
78
 
81
 
79
- phpSysInfo is not compatible with SELinux Systems
82
- phpSysInfo is not compatible with SELinux Systems
80
- small bug under FreeBSD with memory reporting
83
- small bug under FreeBSD with memory reporting
81
 
84
 
82
PLATFORM SPECIFIC ISSUES
85
PLATFORM SPECIFIC ISSUES
83
------------------------
86
------------------------
84
 
87
 
85
#### Windows with IIS
88
#### Windows with IIS
86
  On Windows systems we get our informations through the WMI interface.
89
  On Windows systems we get our informations through the WMI interface.
87
  If you run phpSysInfo on the IIS webserver, phpSysInfo will not connect
90
  If you run phpSysInfo on the IIS webserver, phpSysInfo will not connect
88
  to the WMI interface for security reasons. At this point you MUST set
91
  to the WMI interface for security reasons. At this point you MUST set
89
  an authentication mechanism for the directory in the IIS admin
92
  an authentication mechanism for the directory in the IIS admin
90
  interface for the directory where phpSysInfo is installed. Then you
93
  interface for the directory where phpSysInfo is installed. Then you
91
  will be asked for an user and a password when opening the page. At this
94
  will be asked for an user and a password when opening the page. At this
92
  point it is necessary to log in with an user that will be able to
95
  point it is necessary to log in with an user that will be able to
93
  connect to the WMI interface. If you use the wrong user and/or password
96
  connect to the WMI interface. If you use the wrong user and/or password
94
  you might get an "ACCESS DENIED ERROR".
97
  you might get an "ACCESS DENIED ERROR".
95
 
98
 
96
SENSOR RELATED INFORMATION
99
SENSOR RELATED INFORMATION
97
---------------------------
100
---------------------------
98
 
101
 
99
#### MBM5
102
#### MBM5
100
  Make sure you set MBM5 Interval Logging to csv and to the data
103
  Make sure you set MBM5 Interval Logging to csv and to the data
101
  directory of phpSysInfo. The file must be called MBM5. Also make sure
104
  directory of phpSysInfo. The file must be called MBM5. Also make sure
102
  MBM5 doesn't add symbols to the values. This is a Quick MBM5 log parser,
105
  MBM5 doesn't add symbols to the values. This is a Quick MBM5 log parser,
103
  need more csv logs to make it better.
106
  need more csv logs to make it better.
104
 
107
 
105
WHAT TO DO IF IT DOESN'T WORK
108
WHAT TO DO IF IT DOESN'T WORK
106
-----------------------------
109
-----------------------------
107
 
110
 
108
First make sure you've read this file completely, especially the
111
First make sure you've read this file completely, especially the
109
"INSTALLATION AND CONFIGURATION" section.  If it still doesn't work then
112
"INSTALLATION AND CONFIGURATION" section.  If it still doesn't work then
110
you can:
113
you can:
111
 
114
 
112
Ask for help or submit a bug on Github (https://github.com/phpsysinfo/phpsysinfo/issues)
115
Ask for help or submit a bug on Github (https://github.com/phpsysinfo/phpsysinfo/issues)
113
 
116
 
114
***!! If you have any problems, please set `DEBUG` to true in `phpsysinfo.ini`
117
***!! If you have any problems, please set `DEBUG` to true in `phpsysinfo.ini`
115
and include any error messages in your bug report / help request !!***
118
and include any error messages in your bug report / help request !!***
116
 
119
 
117
OTHER NOTES
120
OTHER NOTES
118
-----------
121
-----------
119
 
122
 
120
If you have a great idea or want to help out, just create a pull request with your change proposal
123
If you have a great idea or want to help out, just create a pull request with your change proposal
121
in the [phpSysInfo](https://github.com/phpsysinfo/phpsysinfo) repository.
124
in the [phpSysInfo](https://github.com/phpsysinfo/phpsysinfo) repository.
122
 
125
 
123
LICENSING
126
LICENSING
124
---------
127
---------
125
 
128
 
126
This program is released under the GNU Public License Version 2 or 
129
This program is released under the GNU Public License Version 2 or 
127
(at your option) any later version, see [COPYING](COPYING) for details.
130
(at your option) any later version, see [COPYING](COPYING) for details.
128
 
131