HowTo install phpsysinfo ?

fpausp

Renowned Member
Aug 31, 2010
609
39
93
Austria near Vienna
I would like to install phpsysinfo on Proxmox 2.2, can anyone instruct me to install it ?

I tried to use:

Code:
apt-get install phpsysinfo

But I always will be redirected to https and port 8006 ...
 
apt will install phpsysinfo in /usr/share/phpsysinfo so all you need to do is to place the snippet below in /etc/apache2/conf.d/phpsysinfo and reload apache:
Code:
Alias /phpsysinfo /usr/share/phpsysinfo
<Location /phpsysinfo>
    Options None
    Order deny,allow
    Deny from all
    Allow from your_management_subnet
</Location>
 
apt will install phpsysinfo in /usr/share/phpsysinfo so all you need to do is to place the snippet below in /etc/apache2/conf.d/phpsysinfo and reload apache:
Code:
Alias /phpsysinfo /usr/share/phpsysinfo
<Location /phpsysinfo>
    Options None
    Order deny,allow
    Deny from all
    Allow from your_management_subnet
</Location>


Thanks but still get this in the browser when I try http://<ip>/phpsysinfo :

Code:
[B]Forbidden[/B]

 You don't have permission to access /phpsysinfo on this server.


How should I change the permission ?
 
do you understand this line?

Code:
Allow from your_management_subnet

you need to add your subnet here, otherwise your IP is not allowed to access the page.

but anyways, I do not recommend to install php on Proxmox VE host.
 
OK, thank you its working, i had to find the right synthax for the subnetmask ...

@ I do not recommend to install php on Proxmox VE host.
Do you mean security or stability or both ?
 
OK, thank you its working, i had to find the right synthax for the subnetmask ...

@ I do not recommend to install php on Proxmox VE host.
Do you mean security or stability or both ?

its a general rule to keep the host clean and yes, php is often target of security bulletins. IMHO this tool looks not that great anyways, most info is displayed already on the Proxmox GUI, the rest can be checked via CLI.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!