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
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- TCB@tblack06
TCB - 0 likes
You must log in to post replies.Perhaps, chown permission denied.
Try
www-data
instead ofapache
.Use
cat /etc/passwd | sed 's/\:.*//'
to check.By default,
Thanks that did the trick!