i look at the directory i see this
-rwxrwxrwx 1 root wheel 30 Aug 25 22:55 .htaccess
-rw-rw-r-- 1 www wheel 9 Sep 21 12:22 .sample-data-state.flag
drwxrwxr-x 19 www wheel 512 Sep 21 12:22 cache
drwxrwxr-x 3 www wheel 512 Sep 21 12:20 composer_home
drwxrwxr-x 3 www wheel 512 Sep 21 12:21 generation
drwxrwxr-x 2 www wheel 512 Sep 21 12:22 log
drwxr-xr-x 4 www wheel 512 Sep 21 12:26 page_cache
drwxrwxr-x 2 www wheel 512 Sep 21 12:25 session
drwxrwxr-x 2 www wheel 512 Sep 21 12:22 tmp
drwxrwxr-x 4 www wheel 512 Sep 21 12:22 view_preprocessed
and inside the page_cache is
root@ahcs:/usr/local/www/apache24/test/var/page_cache # ls -l
total 8
drwxrwxrwx 2 www wheel 512 Sep 21 12:26 mage--2
drwxrwxrwx 2 www wheel 3072 Sep 21 12:26 mage-tags
root@ahcs:/usr/local/www/apache24/test/var/page_cache #
not sure if the permissions are correct but they all have almost full access
i even did 777 on page_cache
It is OK!
Thanks for your help!
There are more than one ways to install Magento 2. I don't know which method have you used for the installation. If you specify the method, I may be able to help you. Different directories and files need to be accessed made changes there in different methods.
well i have downloaded the zip file from the website , then unzipped it . after that I went used the http://localhost/test/setup
went through the installation. happen this way. then i tried the command line way too by usuing php magento setup:install .
as far as installation goes everything goes without hiccup.
i have downloaded it this way too
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition /usr/local/www/apache24/test/
I finally fixed the issue by
editing in httpd.conf
LoadModule rewrite_module libexec/apache24/mod_rewrite.so (it was omiiited)
and in <virtuallhost>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
and deleted the
Order allow,deny
allow from all
hope this helps someone with the same issue