Hello,
I have searched around the forums and couldn't really find an answer to this so posting here.
I am trying to install hesk in a subfolder, example.com/support
Even though all the permissions are set correctly, it's still showing me permissions error on the "2. Check setup" part.
Error: File hesk_settings.inc.php is not writable by PHP.
I am 101% sure that this file is writable by PHP and the chmod is 666.
Error: Folder attachments is not writable by PHP.
101% sure here as well, that the permissions are set to 777.
Error: Folder cache is not writable by PHP.
Same here as above.
Before someone suggests me to "contact my host", I am the host myself and I have tons of websites hosted on this server. So I am 10000% sure that all the permissions are correct. I even checked the error.log and access.log of nginx, nothing in there related to hesk.
Server Specs:
nginx-1.14.2, PHP-FPM 7.2, MariaDB 10.4
Thanks for your time!
Regards.
Permissions issue on Installation
Moderator: mkoch227
Re: Permissions issue on Installation
Do you have any PHP script hosted that can write to a file?
Do you have SELinux installed? If yes, try disabling it and see if that works. Some users have also reported this to work (modify to your path):
Also, check the owner/group of the files/folders and set it to the user your PHP runs under (www-data?)
Do you have SELinux installed? If yes, try disabling it and see if that works. Some users have also reported this to work (modify to your path):
Code: Select all
$ sudo restorecon -R /var/www/html
$ sudo setsebool -P httpd_unified 1
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools