PHP & CodeIgniter Error: open_basedir restriction in effect

Posted by iamdadude on Stack Overflow See other posts from Stack Overflow or by iamdadude
Published on 2010-05-21T03:47:45Z Indexed on 2010/05/21 3:50 UTC
Read the original article Hit count: 286

Filed under:
|
|
open_basedir restriction in effect. File(/var/www/vhosts/domain.com) is not within the allowed path(s): (/var/www/vhosts/domain.com/httpdocs:/tmp)

How do I securely fix this? This is preventing me from listing and creating directories outside of the current directory. What I mean by securely is that I don't want to remove a piece of code from a configuration file and potentially make it easier for hackers to do whatever.

© Stack Overflow or respective owner

Related posts about php

Related posts about codeigniter