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.

Trouble installing EE2: config.php file is unreadable

June 26, 2010 4:43pm

Subscribe [6]
  • #1 / Jun 26, 2010 4:43pm

    Colin Lewis

    55 posts

    I’m having trouble installing EE 2.0.2 Beta, Freelancer License (Build: 20100430). When I run the install wizard I get the following error:

    Your config.php file is unreadable. Please make sure the file exists and that the file permissions to 666 (or the equivalent write permissions for your server) on the following file: expressionengine/config/config.php

    The file is there and I’ve checked permissions. I’ve tried uploading fresh core files, and the server wizard says everything is correct with the server. What should I try next?

    thx!
    Colin

  • #2 / Jun 27, 2010 3:07pm

    Greg Salt

    3988 posts

    Hi Colin,

    Are you installing this on a local or remote server? Are you making any changes to the default installation i.e. above webroot?

    Cheers

    Greg

  • #3 / Jun 28, 2010 6:32pm

    Colin Lewis

    55 posts

    I’m installing this on a remote UNIX server, and this is a standard installation which as far as I can tell follows the instructions explicitly.

    It looks like a permissions issue, but they all seem to be set correctly…

  • #4 / Jun 28, 2010 8:20pm

    Brandon Jones

    5500 posts

    Hi Colin,

    Create a test.php file and upload it to your server with the following in it:

    <?php phpinfo();

    Then run it. What’s listed under the local column for each of:

    1. memory_limit
    2. open_basedir
    3. safe_mode

  • #5 / Jun 28, 2010 8:27pm

    Colin Lewis

    55 posts

    Thanks for your assistance.

    1. memory_limit   32M  
    2. open_basedir   [Mod Edit: removed potentially sensitive info] 
    3. safe_mode   Off

  • #6 / Jun 28, 2010 8:49pm

    Brandon Jones

    5500 posts

    Hi Colin,

    The open_basdir directive is known to cause a host of issues (pardon the pun). Can you get your host to disable open_basedir and see if there’s any change?

  • #7 / Jun 29, 2010 4:56am

    Colin Lewis

    55 posts

    I talked to my host, but unfortunately they won’t disable open_basedir. I installed EE2 locally on MAMP without any problems, so I’m going to assume my remote server config is botching the installation. Is there anything else I do to try to get this working? If not, I’ll go find a new host.

    Thanks for your help.

  • #8 / Jun 29, 2010 7:58am

    Sue Crocker

    26054 posts

    See this article:

    http://www.webhostingtalk.com/showthread.php?t=868029

    If the host won’t help, I’d find a different host.

  • #9 / Nov 15, 2010 7:14pm

    paperweight

    6 posts

    In my httpd.conf I had this:

    php_admin_value open_basedir "/var/www/myfolderpath/data:."

    I then changed it to this:

    php_admin_value open_basedir none

    I then restarted the server but I am still getting this error too:

    Your config.php file is unreadable. Please make sure the file exists and that the file permissions to 666 (or the equivalent write permissions for your server) on the following file: expressionengine/config/config.php

    I re-installed my OS (CentOS) yesterday and did everything fresh again. I’m stumped on how to move forward. Any ideas?

  • #10 / Nov 16, 2010 9:02am

    Sue Crocker

    26054 posts

    Hi, paperweight.

    Have you tried the Server Wizard?

  • #11 / Nov 16, 2010 7:19pm

    paperweight

    6 posts

    Hi,
    Yes the wizard ran fine and all is good on my server, but the error persists. My thread has moved ot this location, so I will try to get this working via here:
    http://ellislab.com/forums/viewthread/173456/

  • #12 / Nov 17, 2010 9:45am

    Sue Crocker

    26054 posts

    In that case, closing the thread..

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

ExpressionEngine News!

#eecms, #events, #releases