Subversion Repositories ALCASAR

Rev

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

Rev 2770 Rev 2976
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 ([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-2020, Mieczyslaw Nalewaj ([github.com/namiltd](https://github.com/namiltd), [sf.net/users/namiltd](https://sf.net/users/namiltd))
8
* Copyright (c), 2009-2021, 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
33
- Windows 2000 / XP / 2003 / Vista / 2008 / 7 / 2011 / 2012 / 8 / 8.1 / 10 / 2016 / 2019
33
- Windows 2000 / XP / 2003 / Vista / 2008 / 7 / 2011 / 2012 / 8 / 8.1 / 10 / 2016 / 2019
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
 
43
 
44
If your platform is not here try checking out the mailing list archives or
44
If your platform is not here try checking out the mailing list archives or
45
the message boards on SourceForge.
45
the message boards on SourceForge.
46
 
46
 
47
INSTALLATION AND CONFIGURATION
47
INSTALLATION AND CONFIGURATION
48
------------------------------
48
------------------------------
49
 
49
 
50
#### Typical installation
50
#### Typical installation
51
 
51
 
52
Just decompress and untar the source (which you should have done by now,
52
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.
53
if you're reading this...), into your webserver's document root.
54
 
54
 
55
There is a configuration file called phpsysinfo.ini.new. If this a brand new
55
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.
56
installation, you should copy this file to phpsysinfo.ini and edit it.
57
 
57
 
58
- make sure your `php.ini` file's `include_path` entry contains "."
58
- make sure your `php.ini` file's `include_path` entry contains "."
59
- make sure your `php.ini` has `safe_mode` set to 'off'.
59
- make sure your `php.ini` has `safe_mode` set to 'off'.
60
 
60
 
61
phpSysInfo require php-xml extension.
61
phpSysInfo require php-xml extension.
62
 
62
 
63
Please keep in the mind that because phpSysInfo requires access to many
63
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`.
64
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
65
Please see the PHP documentation for information on how you
66
can do this.
66
can do this.
67
 
67
 
68
That's it.  Restart your webserver (if you changed php.ini), and voila.
68
That's it.  Restart your webserver (if you changed php.ini), and voila.
69
 
69
 
70
#### Docker container installation
70
#### Docker container installation
71
 
71
 
72
- `sudo docker build -t phpsysinfo github.com/phpsysinfo/phpsysinfo`
72
- `sudo docker build -t phpsysinfo github.com/phpsysinfo/phpsysinfo`
73
- `sudo docker run -i -p 8080:80 -t phpsysinfo`
73
- `sudo docker run -i -p 8080:80 -t phpsysinfo`
74
- go to http://localhost:8080/phpsysinfo/
74
- go to http://localhost:8080/phpsysinfo/
75
 
75
 
76
KNOWN PROBLEMS
76
KNOWN PROBLEMS
77
--------------
77
--------------
78
 
78
 
79
- phpSysInfo is not compatible with SELinux Systems
79
- phpSysInfo is not compatible with SELinux Systems
80
- small bug under FreeBSD with memory reporting
80
- small bug under FreeBSD with memory reporting
81
 
81
 
82
PLATFORM SPECIFIC ISSUES
82
PLATFORM SPECIFIC ISSUES
83
------------------------
83
------------------------
84
 
84
 
85
#### Windows with IIS
85
#### Windows with IIS
86
  On Windows systems we get our informations through the WMI interface.
86
  On Windows systems we get our informations through the WMI interface.
87
  If you run phpSysInfo on the IIS webserver, phpSysInfo will not connect
87
  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
88
  to the WMI interface for security reasons. At this point you MUST set
89
  an authentication mechanism for the directory in the IIS admin
89
  an authentication mechanism for the directory in the IIS admin
90
  interface for the directory where phpSysInfo is installed. Then you
90
  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
91
  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
92
  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
93
  connect to the WMI interface. If you use the wrong user and/or password
94
  you might get an "ACCESS DENIED ERROR".
94
  you might get an "ACCESS DENIED ERROR".
95
 
95
 
96
SENSOR RELATED INFORMATION
96
SENSOR RELATED INFORMATION
97
---------------------------
97
---------------------------
98
 
98
 
99
#### MBM5
99
#### MBM5
100
  Make sure you set MBM5 Interval Logging to csv and to the data
100
  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
101
  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,
102
  MBM5 doesn't add symbols to the values. This is a Quick MBM5 log parser,
103
  need more csv logs to make it better.
103
  need more csv logs to make it better.
104
 
104
 
105
WHAT TO DO IF IT DOESN'T WORK
105
WHAT TO DO IF IT DOESN'T WORK
106
-----------------------------
106
-----------------------------
107
 
107
 
108
First make sure you've read this file completely, especially the
108
First make sure you've read this file completely, especially the
109
"INSTALLATION AND CONFIGURATION" section.  If it still doesn't work then
109
"INSTALLATION AND CONFIGURATION" section.  If it still doesn't work then
110
you can:
110
you can:
111
 
111
 
112
Ask for help or submit a bug on Github (https://github.com/phpsysinfo/phpsysinfo/issues)
112
Ask for help or submit a bug on Github (https://github.com/phpsysinfo/phpsysinfo/issues)
113
 
113
 
114
***!! If you have any problems, please set `DEBUG` to true in `phpsysinfo.ini`
114
***!! 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 !!***
115
and include any error messages in your bug report / help request !!***
116
 
116
 
117
OTHER NOTES
117
OTHER NOTES
118
-----------
118
-----------
119
 
119
 
120
If you have a great idea or want to help out, just create a pull request with your change proposal
120
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.
121
in the [phpSysInfo](https://github.com/phpsysinfo/phpsysinfo) repository.
122
 
122
 
123
LICENSING
123
LICENSING
124
---------
124
---------
125
 
125
 
126
This program is released under the GNU Public License Version 2 or 
126
This program is released under the GNU Public License Version 2 or 
127
(at your option) any later version, see [COPYING](COPYING) for details.
127
(at your option) any later version, see [COPYING](COPYING) for details.
128
 
128