Log in

View Full Version : PHP Sanity check fail


zulu
May 23, 2007, 08:50 PM
Hi...

I'm using exponent cms for my website..

During installation it performs the sanity checking and found 3 folders are not readable/writable...

Even though I've already set these folder/files as 777(readable/writable) in my web server,
It still show these errors..

I can't find any solution for this problem... :mad: :mad:
Anybody can help me out..

Thanks in advance
zulu

justintest
Aug 17, 2010, 11:58 AM
Sometimes, web servers forbid 0777 because it is too insecure. Try setting them to 0755 or 0744. Also, you should make sure to change the owner of the files and directories to the web sever's user information. It may depend on your distubtion, but Ubuntu uses www-data. So, to change all of the files and folders to www-data, you could run the following from the command line:


chown -R www-data:www-data /PATH/TO/YOUR_DIR

rpray2007
Aug 27, 2010, 10:32 AM
Just to add what justintest said, you might want to also

chmod -R

The -R option is telling the server to recursively go through the sub directories and modify the permissions.

Good luck