Web Server Access to Files and Configuration Directories

I am having an issue with setting up my server to run concrete.I can provide a ton of information, but i do not know exactly what you would need. i have set everything thing to 777 and no result. my site is "mwmisner.com" and you can access php info at "mwmisner.com/test.php" any help in resolving this error message, would be greatly appreciated.


View Replies:
michaelmior replied on at Permalink Reply
What do you mean by "no result"? What error message are you receiving?
mwmisner replied on at Permalink Reply
I am trying to make my server compatable with concrete 5, when i try to install i get the promt"Web Server Access to Files and Configuration Directories" and it tells me that "The config/, packages/ and files/ directories must be writable by your web server"
I have attempted the following steps:
1. added the suexec package to my server

2. used chmod through the command line and changed all www to 777(temporalily for testing)

I do not know what to try next.
nteaviation replied on at Permalink Reply
Did you ever resolve this?

If not, take a look at your phpinfo() output. Make sure your are NOT in safe mode. Also make sure the directory/file permissions are set recursively on the /file, /packages and /config

You stated: "used chmod and changed www to 777". You changed the permissions, not the owner/group (www could be a user or group name)?
zachbrowne replied on at Permalink Reply
1. First find out which user apache is running on (most cases www-data):

ps aux | grep apache

2. Then chown your public directory to that user:

chown -R www-data:www-data /path/to/public/directory (usually www or public_html)

3. Actually to keep permissions straight on my web server any time I install or update software I just add this alias to my .bashrc file in Ubuntu:

alias fix='chown -R 1000:1000 /home/zach/domains/*/public_html && find /home/zach/domains/*/public_html -type d -exec chmod 755 {} \; && find /home/zach/domains/*/public_html -type f -exec chmod 644 {} \;'

Then just type "fix" without the quotes at your command prompt as root or "sudo fix" as any other user.