The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Copy Multiple Accounts - open_basedir issue

Discussion in 'General Discussion' started by MiP, Jul 17, 2005.

  1. MiP

    MiP Registered

    Joined:
    Jul 17, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    we are currently moving around 100 accounts from one server to another. Now there seems to be a little problem after completing this task. Once we try to access copied accounts we get the following error by accessing PHP scripts:

    We are aware what the open_basedir restriction does (preventing users to read folders not owned by them) BUT - and this is a big BUT the scripts do NOT access any folders not owned by the users in question.

    The index.php file that generated this error for example just contains functions like:

    <?php
    if ($do == "something") {
    include "something.php";
    }
    ?>

    That said it happens to all copied accounts and turning off
    open_basedir restriction is no option as we provide free web hosting so this is required.

    Any idea what could be causing this?

    Thank you
     
  2. challii

    challii Well-Known Member

    Joined:
    Feb 3, 2004
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    Turn it off (which will remove the open basedir restrictions), then turn it back on again.

    See if that helps.
     
  3. asro

    asro Registered

    Joined:
    Feb 23, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    how to turn off this

    how to turn off this restriction
     
Loading...

Share This Page