elgg_config/settings.php permission denied

Hi,

I'm doing a fresh install of Elgg 3.1.5 and I'm getting the error:

"Warning: file_put_contents(/var/www/html/elgg-config/settings.php): failed to open stream: Permission denied in /var/www/html/vendor/elgg/elgg/engine/classes/ElggInstaller.php on line 1293"

What's strange is I've got my entire document root recursively set to owner "apache" and I checked the elgg_config directory using ls -l just to make sure that the owner was correct.. which it is set to drwx r-x r-x apache.  I even tried setting chmod 777 on the ellg_config directory, but yet I still get permission denied.  I have no idea why the settings.php can't be created so any help would be appreciated.

 

Thanks

 

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking