I've configured Apache vHosts on a local box and installed a Craft 3 website onto it. This new instance will serve as my "staging" environment for an upcoming website.
- I've installed with composer from a Git repo of my work-in-progress site.
Everything installed fine, and I can access the site through my browser. However, the site displays the error message:
/var/www/vhosts/wine/storage isn't writable by PHP. Please fix that.
Now, I've run into this before, normally I would just chmod 775 and chown the folder to apache. But, this isn't working. I've even chmod 777 on the folder and it still gives me the error message.
An ls -la on the storage folder gives me (currently 774):
drwxrwxr--. 2 apache apache
This should be working. I've been at it for 4 hours, and I'm at a loss. If anyone has any ideas, please let me know.
- CentOS 7
- Apache 2.4.6
- PHP 7.2.20