Patrick4 Posted August 2, 2011 Share Posted August 2, 2011 http://docs.whmcs.com/Installing_WHMCS Here it says: When complete, delete the install folder from your web server and CHMOD the configuration.php file back to 644. Then below it it says, /configuration.php CHMOD 777 Writeable Which is it, 644, or 777? Thanks. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted August 2, 2011 Share Posted August 2, 2011 /configuration.php CHMOD 777 Writeable Only during installation, 644 after. The rest need to be writable by whatever runs the script (user, nobody, etc). 0 Quote Link to comment Share on other sites More sharing options...
Patrick4 Posted August 3, 2011 Author Share Posted August 3, 2011 ok so upload it as 777 and then once installed change it back to 644. What about /attachments CHMOD 777 Writeable /downloads CHMOD 777 Writeable /templates_c CHMOD 777 Writeable Are these before install, or both before and after install? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted August 3, 2011 WHMCS Support Manager Share Posted August 3, 2011 Both before and after as WHMCS needs to be able to write files there. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted August 3, 2011 Share Posted August 3, 2011 ok so upload it as 777 and then once installed change it back to 644.What about /attachments CHMOD 777 Writeable /downloads CHMOD 777 Writeable /templates_c CHMOD 777 Writeable Are these before install, or both before and after install? /configuration.php CHMOD 777 WriteableOnly during installation, 644 after. The rest need to be writable by whatever runs the script (user, nobody, etc). Do yourself a huge favor, and follow the additional security steps as well. These folders should not be reachable via http with these permissions. 0 Quote Link to comment Share on other sites More sharing options...
Patrick4 Posted August 4, 2011 Author Share Posted August 4, 2011 do i change them to 644 aswell then? or what, it doesnt say too, but to have these as 777? sorry, lost. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted August 4, 2011 Share Posted August 4, 2011 do i change them to 644 aswell then? or what, it doesnt say too, but to have these as 777? sorry, lost. If you go back and read carefully, the configuration file only needs to be writable during installation. All those other folders need to be writable always. Since they are writable, leaving them in the regular WWW accessible directory is not a good idea, so you should follow the instructions to make that safer. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.