How can i enable NIX Load with Plesk
Author:
mike
03 15th, 2010 in
enart.abczj.com
edit
how can i enable in Plesk that it let read me loadavg, that i can use Nix Load in Vbulletin ?
I get this errors when i enable it
Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/.....
Warning: fopen("/proc/loadavg","r") - Operation not permitted in /usr/local/psa/home/vhosts/.....
Warning: Supplied argument is not a valid File-Handle resource in /usr/local/psa/home/vhosts/.......
open_basedir = /
I'm no expert at this sort of stuff so if that doesn't work then I would wait for one of our resident experts Chris or George to come along.
Make sure you restart apache after adding that line.
i found out how it easily works i edited the httpd.include and removed the php_admin_value open_basedir line now it works :)
I tried to add open_basedir=off in php.ini but it did not help still the same error, any other help ?
Thanks
http://forum.plesk.com/showthread.php?s=&threadid=1157&highlight=openbasedir
by PaulC
Create a file
/usr/local/psa/home/vhosts/domain.com/conf/vhost.conf
In it, put this
php_admin_value open_basedir ".:/usr/local/psa/home/vhosts/domain.com/httpdocs:/proc
Then run
/usr/local/psa/admin/bin/my_apci_rst
domain.com = yourdomain
get mad with plesk :( this did not work either, after i made this apache did not restart, plesk is nice when ou do not need to change anything, maybe other idea´s hmm tried asking at plesk forum ?
Hi,
i found out how it easily works i edited the httpd.include and removed the php_admin_value open_basedir line now it works :) wow easy enough although it can be a security risk if you allow others ftp access to that site and upload scripts which look beyond your site's root i.e. into /etc
'open_basedir' variable is set in the httpd.include file. i.e.
php_admin_flag engine on
php_admin_value open_basedir "/home/httpd/vhosts/DOMAIN.com/httpdocs"
not sure how to correct it.. might try http://forum.plesk.com
#If you have any other info about this subject , Please add it free.# |