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.

open_basedir

January 27, 2011 6:17pm

Subscribe [2]
  • #1 / Jan 27, 2011 6:17pm

    el_mystica

    1 posts

    I’m currently installing my first EE2 with MSM on a Mediatemple (gs) hosting.

    I tried to create a new site within the site tab, but after hitting submit, I get multiple errors like this:

    A PHP Error was encountered
    
    Severity: Warning
    
    Message: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/nfs:/tmp:/usr/local:/etc/apache2/gs-bin)
    
    Filename: core/Common.php
    
    Line Number: 72

    It appears to be something with the parameters of open_basedir.
    Indeed, my phpinfo shows me that this is not empty so it has its restraints…
    How to solve this easily ...?

  • #2 / Jan 28, 2011 10:51am

    Ingmar

    29245 posts

    Welcome to the forums, el_mystica! What version and build of EE and the MSM are you using? The easiest way would probably to ask your host to disable this restriction.

  • #3 / Jan 28, 2011 10:57am

    el_mystica

    1 posts

    I downloaded it yesterday, so it should be pretty fresh 😊

    I managed it finally to make it work with this wiki entry on Mediatemple:

    http://wiki.mediatemple.net/w/GS:Allow_multiple_open_basedir_directories
    And I created a .htaccess-file with this in it:

    php_value open_basedir /

    Thanks for the reply!

    OT: where should I post a question on the general use of EE?
    I’m trying to figure some general stuff out in order to start my websites.

  • #4 / Jan 28, 2011 11:34am

    Ingmar

    29245 posts

    I am glad to see you were able to get this to work. General questions would go into either “General” or the “CodeShare Corner”. That said, we’ll just move threads as needed so don’t worry about it too much 😊 Thanks.

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

ExpressionEngine News!

#eecms, #events, #releases