barry123 Posted June 17, 2010 Share Posted June 17, 2010 The three folders "attachments", "downloads" and "templates_c" need to be writeable by WHMCS and therefore require the permissions 777 (writeable by all). When folders have this permission level it is safer to place the folders outside of the public accessible folder tree on your website. WHMCS allows you to do this. If you do move the folders, then you must tell WHMCS where they have been moved to by adding the following lines to your configuration.php file: $templates_compiledir = "/home/whmcs/templates_c/"; $attachments_dir = "/home/whmcs/attachments/"; $downloads_dir = "/home/whmcs/downloads/"; With regard to the above documentation, where exactly should I place these files? Where is outside of the publicly accessible folder tree? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 17, 2010 WHMCS Support Manager Share Posted June 17, 2010 Outside of the publicly accessible folder tree usually means the level above your /public_html folder. 0 Quote Link to comment Share on other sites More sharing options...
barry123 Posted June 20, 2010 Author Share Posted June 20, 2010 Outside of the publicly accessible folder tree usually means the level above your /public_html folder. I don't have a /public_html folder, mine looks somthing like: webspace > certs >cgi-bin >conf >error_docs >httpdocs - holds all my sites files >httpsdocs >and a few more folders So would it be outside the httpdocs folder? And where should I place them? Thanks 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.