It has been many, many moons since I've set up an Apache server. I'm assuming some things have changed.
The new one I'm doing is on AWS (Linux). It's installed fine with PHP support. I installed Twig via yum. The default location is ~ec2-user/Twig
. I'm trying to load the Twig Autoloader, but PHP is telling me that it is unreadable. Definitely not a file permissions or ownership error. To test, I changed everything recursively to 777
and have tried a few owners (yes, it's been changed back). If I copy Twig to /var/www/html
and access it from there, it's readable.
I don't recall ever having to give explicit permission for Apache to read other directories, but as per before, it's been years since I've done this. A lot could have changed. So, the question is do I need to change something in httpd.conf ?
Regards
~ec2-user/Twig
. Also, I assume you are specifying full path (no~
chars) to the folders on apache configuration.