Announcement

Collapse
No announcement yet.

NIX Load Limit error??

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NIX Load Limit error??

    I tried turning on the nix load to 6 limit in the vb admin...

    and got this error:

    Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/mx6.com/httpdocs/boardnew/global.php on line 157

    Warning: fopen("/proc/loadavg","r") - Operation not permitted in /usr/local/psa/home/vhosts/mx6.com/httpdocs/boardnew/global.php on line 157

    Warning: Supplied argument is not a valid File-Handle resource in /usr/local/psa/home/vhosts/mx6.com/httpdocs/boardnew/global.php on line 159


    ----------------------------------------
    I created the vhost.conf file with the 4 lines i found and restarted apache.. i turned of safe mode and i can upload pictures but i cant get those NIX Avg level to work...

  • #2
    same solution as http://vbulletin.com/forum/showthrea...threadid=37766
    :: Always Back Up Forum Database + Attachments BEFORE upgrading !
    :: Nginx SPDY SSL - World Flags Demo [video results]
    :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

    Comment


    • #3
      As I stated eva .. it did not work for the nix levels.. but the image upload works.. i did everything on that post.. and notin..

      Comment


      • #4
        you sure

        Code:
        <Directory /usr/local/psa/home/vhosts/mx6.com/httpdocs>
          php_admin_value safe_mode 0
          php_admin_value open_basedir "/usr/local/psa/home/vhosts/mx6.com/httpdocs:/tmp"
        </Directory>
        might have to turn off open_basedir completely for that
        :: Always Back Up Forum Database + Attachments BEFORE upgrading !
        :: Nginx SPDY SSL - World Flags Demo [video results]
        :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

        Comment


        • #5
          i have thoes exact lines already set.. how would i turn of base dir?

          also my php.ini file is set to safe mode on

          shouldi set it to Off?

          Comment


          • #6
            Originally posted by Optima
            i have thoes exact lines already set.. how would i turn of base dir?

            also my php.ini file is set to safe mode on

            shouldi set it to Off?
            if you don't host any other web sites and only you access ftp then turn safe mode off
            :: Always Back Up Forum Database + Attachments BEFORE upgrading !
            :: Nginx SPDY SSL - World Flags Demo [video results]
            :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

            Comment


            • #7
              i do run other sites.. so i wont do that..

              how do i turn of that open_basedir ??

              Comment


              • #8
                just removing that line i think

                php_admin_value open_basedir "/usr/local/psa/home/vhosts/mx6.com/httpdocs:/tmp"
                :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                :: Nginx SPDY SSL - World Flags Demo [video results]
                :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                Comment

                Loading...
                Working...
                X