quickq Posted May 9, 2016 Share Posted May 9, 2016 Hi all, This on a Centos 7 server with SELinux enabled. Just bought WHMCS and starting to install. I get to the requirements check page where I've got 4 warnings: configuration.php needs to be writeable attachments, downloads and templates_c need to be writeable. So, I setsebool -P httpd_enable_homedirs 1 Then semanage fcontext -a -t httpd_user_content_t '/home/whmcs/app/public_html(/.+)?' restorecon -Rv But the same errors come up. Could any one advise please? Thanks 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 12, 2016 WHMCS Support Manager Share Posted May 12, 2016 Hi, Please CHMOD the file and directories to 777. Once the installation is complete you can CHMOD configuration.php to 444. 0 Quote Link to comment Share on other sites More sharing options...
fanpero Posted August 7, 2020 Share Posted August 7, 2020 Hello, I had to set "SELINUX=disabled" on my CentOS 7 vm to install WHMCS. After that, and once it was already working and running, I decided to set it back to "SELINUX=enforcing" and now It get the error once again:"The templates compiling directory '/var/www/my.mosaic.site/whmcs/templates_c' must be writeable (CHMOD 777) before you can continue." Permissions on "template_c" are like this: "drwxrwxrwx. 2 root root 8192 Aug 6 14:29 templates_c" What can I do to fix this issue without setting SELINUX back to disabled ? 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.