ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

PHP open_basedir restriction on Plesk server

July 17, 2011 1:29am

Subscribe [1]
  • #1 / Jul 17, 2011 1:29am

    Andrew Waegel

    16 posts

    Hello,

    I’m trying to install EE 2.2.1 on a standard plesk account, and am getting the following error when trying to run the installer:

    Warning: require() [function.require]: open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/vhosts/mydomain.com/httpdocs:/tmp) in /var/www/vhosts/mydomain.com/httpdocs/system/codeigniter/system/core/CodeIgniter.php on line 49

    I’ve found the related forum posts about other users having this problem when using MSM, and how to fix it by amending the domain.conf file, but I’m not using MSM and don’t understand why I’m getting this problem - it’s only one site, and the files I’m trying to open are in fact under the directory specified for open_basedir.

    What am I missing here? I’ve installed EE dozens of time, never seen this problem.

  • #2 / Jul 17, 2011 3:41pm

    Lisa Wess

    20502 posts

    Hi, Andrew

    This can happen for a variety of reasons, including image manipulation, etc.  have you contacted your host about relaxing the open_basedir restriction? That’s really going to be your best route.

    Thank you!

  • #3 / Jul 17, 2011 3:52pm

    Andrew Waegel

    16 posts

    I’ve had the host change open_basedir, and all is good now, though I still don’t quite understand why the restriction kicked in.

    Thanks,
    - Andrew

  • #4 / Jul 17, 2011 3:55pm

    Lisa Wess

    20502 posts

    That depends on the server config, really.  You’d need to ask your host.

    Glad you got it all working now, Andrew!  Have an awesome Sunday, and let us know if you need anything else. =)

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases