How can i enable NIX Load with Plesk

  • Hi,
    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/.......


  • try

    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.


  • 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


  • 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 :)


  • You would need to edit your php.ini file manually and change the open_basedir setting to off. I'm not sure if Plesk would let you do that though.


  • shure, http://forum.plesk.com/showthread.php?s=&threadid=1157&highlight=openbasedir i´m the topic starter over there, but i think here are more expirience people


  • there is no open_basedir in php.ini, even in an other server from me without plesk, but there Nix Load runs fine. Should i just add in php.ini open_basedir=off ?

    I tried to add open_basedir=off in php.ini but it did not help still the same error, any other help ?

    Thanks


  • Plesk is evil


  • found solution i think last 2 posts

    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


  • Originally posted by Tom Dooley
    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 ?


  • Originally posted by Tom Dooley
    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


  • don't know much about plesk but i read from the plesk forums that

    '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.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about How can i enable NIX Load with Plesk , Please add it free.

    Google Adsense Profits Mixed In With Affiliate Marketing - Google Adsense Kids Eating Healthy