Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   PHP (https://www.askmehelpdesk.com/forumdisplay.php?f=454)
-   -   PHP Sanity check fail (https://www.askmehelpdesk.com/showthread.php?t=95355)

  • May 23, 2007, 08:50 PM
    zulu
    PHP Sanity check fail
    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
  • Aug 17, 2010, 11:58 AM
    justintest
    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:

    Code:

    chown -R www-data:www-data /PATH/TO/YOUR_DIR
  • Aug 27, 2010, 10:32 AM
    rpray2007
    Just to add what justintest said, you might want to also
    Code:

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

    Good luck

  • All times are GMT -7. The time now is 10:56 PM.