Installation freezes when I give the right permissions to module directory

Hello, I just downloaded SuiteCRM and I’m trying to install it on my debian server. So everthing looks fine but I am at a point where it tells me this:

Writable Modules Sub-Directories and Files

Warning: Not Writable

Please fix the following module directories and the files under them before proceeding:
/modules
Writable Upload Directory

My /var/www/html/SuiteCRM/modules directory indeed has 755 permissions. So far so good.

I use

chmod -R 766 /var/www/html/SuiteCRM/modules

and then when I try to continue the installation it gets me to a blank page and when I press next nothing happens…

What should I do?

what user is set as owning the directory? It should be set as the apache user.

So should I give ownership of the whole SuiteCRM directory to apache user?

yes

Well, at first I thought it made sense but it looks like I don’t have an apache user. Of course my apache2 is up and running but I’ve never heard of an “apache” user.

EDIT:
If by “apache” user you meant the “www-data” user you’re right. I did that and it seems to be working! Thanks for your answer!

sorry by apache user I mean the same user that apache is running as. So for example I use Ubuntu so for me the apache user is www-data. The command:

ps aux | egrep ‘(apache|httpd)’

should show you what apache runs as on your server

Oh I just edited my previous post. Yeah I just did that and saw the user was www-data. Thanks :slight_smile: