CHMOD? File permissions for installing Expressionengine Win7

Problems with the Windows version of XAMPP, questions, comments, and anything related.

CHMOD? File permissions for installing Expressionengine Win7

Postby inadaze » 24. August 2014 00:48

I am new to this board and have been pulling my hair out trying to resolve this problem. I am in the process of installing the free CORE version of Expressionengine 2 on my localhost.
I have had this successfully installed on my localhost in the past, but for some reason seem to be unable to repeat the process ?? I can't recall how to set the permissions required below.
Can anybody help me out on this one ?


3. Set File Permissions

Apache

These permissions are typical for PHP-based applications running on Apache, though you may want to check with your web host to see if more restrictive permissions can be used to allow PHP to write to files and directories.

Set these files to 666:

system/expressionengine/config/config.php
system/expressionengine/config/database.php
Set these directories to 777:

system/expressionengine/cache/
images/avatars/uploads/
images/captchas/
images/member_photos/
images/pm_attachments/
images/signature_attachments/
images/uploads/
IIS

Provide all permissions to the IIS user for these directories:

system/expressionengine/cache/
images/avatars/uploads/
images/captchas/
images/member_photos/
images/pm_attachments/
images/signature_attachments/
images/uploads/
4. Run The Installation Wizard

Point your browser to the URL of the admin.php file you uploaded. For example: http://example.com/admin.php

Follow the on-screen instructions to install ExpressionEngine.
inadaze
 
Posts: 2
Joined: 24. August 2014 00:32
Operating System: Windows 7 Home Premium

Re: CHMOD? File permissions for installing Expressionengine

Postby gsmith » 24. August 2014 07:46

CHMOD is unix/linux/etc. not Windows.

It looks like the only thing they really do not want people getting at is
system/expressionengine/config/config.php
system/expressionengine/config/database.php
and rightly so.

So you could drop an .htaccess file in system/expressionengine/config/ with
Code: Select all
<Files ~ "(config|database)\.php$">
    Require all denied
</Files>

This will keep people from being able to view these. PHP can still include() them.
Require in .htaccess requires the AuthConfig or All override (AllowOverride).
gsmith
 
Posts: 278
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win 10/2012R VS 14,15,16

Re: CHMOD? File permissions for installing Expressionengine

Postby inadaze » 24. August 2014 12:47

Thanks to all !
I have got it installed. I was over complicating things.
It seems that the default permissions on Win7, are the equivalent of the CHMOD that I was getting in a muddle over.
It's a pity that this was not made clear, or clearer in the installation info. But like I said it is all OK now and I have started working my way through my first tutorial book.
Some time ago I tried getting to grips with wordpress without success. EE is reputed to be more complex but so far I am finding it easier to understand, perhaps it is the well structured 'Admin Control Panel'

Thanks again !
inadaze
 
Posts: 2
Joined: 24. August 2014 00:32
Operating System: Windows 7 Home Premium


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 98 guests