Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

After transfer backups I got open_basedir restriction in effect.

Discussion in 'General Discussion' started by esupport.org.ua, May 20, 2005.

  1. esupport.org.ua

    esupport.org.ua Well-Known Member

    Joined:
    Nov 16, 2004
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    156
    Hi

    I transfer backups from old one to new one and restore all.
    But I got a lot of warnings:

    Warning: main(): open_basedir restriction in effect. File(/usr/home/psolao4/public_html/includes/version.php) is not within the allowed path(s): (/home/psolao4:/usr/lib/php:/usr/local/lib/php:/tmp)

    On old server it be in /usr on new in /home

    How to fix it?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Check the virtualhost container for the domain and make sure that the php_admin_value open_basedir is set correctly for the new server.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. esupport.org.ua

    esupport.org.ua Well-Known Member

    Joined:
    Nov 16, 2004
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    156
    I fixed it via my custom bulk script.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice