Koozali.org: home of the SME Server

phpsysinfo does not work in 5.5

Darren

phpsysinfo does not work in 5.5
« on: July 12, 2002, 01:53:08 PM »
phpsysinfo won't work properly in sme 5.5 anyone know how to fix it

only the mounted file systems work nothing else
it is a fresh install  and the version is 2.1 the latest

Jon Blakely

Re: phpsysinfo does not work in 5.5
« Reply #1 on: July 12, 2002, 03:47:57 PM »
Darren,

Mine works fine on 5.5. Mind you it was an update and not a fresh install.

Jon

Jon Blakely

Re: phpsysinfo does not work in 5.5
« Reply #2 on: July 12, 2002, 04:05:45 PM »
Darren,

Have you ensured that you are are not running in php safe_mode in php.ini.

Jon

Chris

Re: phpsysinfo does not work in 5.5
« Reply #3 on: July 12, 2002, 05:40:49 PM »
I did an upgrade also and it is working fine

Meert

Re: phpsysinfo does not work in 5.5
« Reply #4 on: July 13, 2002, 09:51:31 PM »
I've got the same problem. There's just "Not Availables" for almost all items. Only the Mounted Filesystems are shown. In my php.ini safe_mode is off. So that's not the problem.

Bill Coghill

Re: phpsysinfo does not work in 5.5
« Reply #5 on: July 14, 2002, 05:13:29 PM »
I seem to remember that when I updated one of my boxes from 4.1.2 to 5.1.2b4 I had a similar problem.  I think the php scripts in the v5 software are limited to getting files from their own folder only and can no longer wander about the system gathering data.

Maybe the people who have it working are running the phpSysInfo script from within the primary html folder which has special access.  Just a thought.

I think there was a fix, but I never bothered trying it.

Try checking the archive for phpsysinfo problem.

Bill.

Meert

Re: phpsysinfo does not work in 5.5
« Reply #6 on: July 15, 2002, 01:48:17 AM »
http://forums.contribs.org/index.php?topic=3404.msg11487#msg11487

is this the sollution?
Quote
/sbin/e-smith/db accounts setprop fool PHPBaseDir /home/e-smith/files/ibays/fool/:/proc
where fool is the ibay where phpSysInfo is.
And, without any surprise, it works (after signal-event).
I'm not sure what this means. Can anyone enlighten me?

Thanks

Bas

Re: phpsysinfo does not work in 5.5
« Reply #7 on: July 15, 2002, 02:57:47 PM »
This turns PHP Sandboxing off.

PHP Sandboxing makes sure the user on your system can't run their custom PHP script that attack your server, PHP can only do stuff in the ibay it is located in and not in a differend ibay.

I turned it off on my server since im the only one running PHP on it.

Meert

Re: phpsysinfo does not work in 5.5
« Reply #8 on: July 18, 2002, 06:40:29 PM »
It still doesn't work :(

Darren

Re: phpsysinfo does not work in 5.5
« Reply #9 on: July 19, 2002, 01:10:49 PM »
/sbin/e-smith/signal-event ibay-modify fool