You are not logged in.
Hello, im trying to get phpsysinfo to run.
in /etc/php.ini
I set safe_mode to Off.
But it doesnt seem to work cause.
phpsysinfo can acess the files in /proc/
:S
Offline
And I am sure you restarted your server after altering php.ini... did you?
Offline
Yes yes.. the problem is tjhat php doesnt seem to be able to read the files in /proc.
Anyone managed to get phpsysinfo 3.0rc2 working in arch?
Offline
Did you add this in base_dir?
Offline
Just for future reference: I had the same problem, and nothing found in httpd logs.
Found this in the user.log though:
root /var # tail /var/log/user.log
Dec 18 05:00:31 archlinux httpd: PHP Warning: is_executable() [<a href='function.is-executable'>function.is-executable</a>]: open_basedir restriction in effect. File(/usr/sbin/lsusb) is not within the allowed path(s): (/home/:/tmp/:/usr/share/pear/) in /home/httpd/html/phpsysinfo/includes/common_functions.php on line 46
Dec 18 05:00:31 archlinux httpd: PHP Warning: is_executable() [<a href='function.is-executable'>function.is-executable</a>]: open_basedir restriction in effect. File(/usr/local/bin/lsusb) is not within the allowed path(s): (/home/:/tmp/:/usr/share/pear/) in /home/httpd/html/phpsysinfo/includes/common_functions.php on line 46
In /etc/php.ini:
; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
open_basedir = /home/:/tmp/:/usr/share/pear/
HOWEVER, this doesn't help, and the only helpful thing I can see in the logs is [Tue Dec 18 05:17:10 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/bin/suexec) , but I tried disabling the suexec module in httpd.conf , to no avail. Any thoughts?
Last edited by Fackamato (2007-12-18 04:21:50)
Offline