Jump to content

Health Check / Incorrect Permissions (Solved)


Recommended Posts

Hi, guys.

 

The health check of whmcs is currently reporting this:

 

Your configuration file is writable. This can be a security risk. We recommend setting the permissions to read only.You can learn more about this in our documentation.

 

 

Although, here are our config files for whmcs and crons permissions:

 

whmcs (644):
-rw-r--r--.  1 cst cst    373 Aug  2 23:37 configuration.php

crons (644):
-rw-r--r--.  1 cst cst    89 Aug  2 23:55 config.php

 

So what else could be the issue ? We are using the latest v6 build.

 

- - - Updated - - -

 

Ok, it was necessary to set the permission as : 400 instead of 644.

Link to comment
Share on other sites

http://docs.whmcs.com/Installing_WHMCS

 

When complete, delete the install folder from your web server and CHMOD the configuration.php file back to 644.

 

Required file & folders permissions

/configuration.php CHMOD 400 Readable

/attachments CHMOD 777 Writeable

/downloads CHMOD 777 Writeable

/templates_c CHMOD 777 Writeable

that contradiction for the CHMOD of configuration.php has been there in the docs for at least 3 years - I can recall reading it when I first installed WHMCS. :roll:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated