-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Description
Description
after successfully installtion of magento 2 unabel to access the magento web server
error
PHP Warning: fopen(/var/www/digitivy-prodmagento/MagentoStore/var/cache//mage-tags/mage---2a5_CONFIG): failed to open stream: Permission denied in /var/www/digitivy-prodmagento/MagentoStore/vendor/colinmollenhour/cache-backend-file/File.php on line 646
[Fri Aug 18 13:20:39.957447 2017] [:error] [pid 26538] [client 10.1.1.198:56567] PHP Warning: fopen(/var/www/digitivy-prodmagento/MagentoStore/var/cache//mage-tags/mage---2a5_MAGE): failed to open stream: Permission denied in /var/www/digitivy-prodmagento/MagentoStore/vendor/colinmollenhour/cache-backend-file/File.php on line 646
Preconditions
magento 2.1
php 5.6
rds mysql 5.6
Steps to reproduce
install magento 2 prerequest and change the permission accordingly
sudo find var vendor pub/static pub/media app/etc -type f -exec chmod g+w {} ;
sudo find var vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} ;
sudo chown -R magento:apache .
sudo chmod u+x bin/magento
Actual Result:
after successfull installation of the magento 2 unable to access the home page .please find the error belwo
;
PHP Warning: fopen(/var/www/digitivy-prodmagento/MagentoStore/var/cache//mage-tags/mage---2a5_CONFIG): failed to open stream: Permission denied in /var/www/digitivy-prodmagento/MagentoStore/vendor/colinmollenhour/cache-backend-file/File.php on line 646
[Fri Aug 18 13:20:39.957447 2017] [:error] [pid 26538] [client 10.1.1.198:56567] PHP Warning: fopen(/var/www/digitivy-prodmagento/MagentoStore/var/cache//mage-tags/mage---2a5_MAGE): failed to open stream: Permission denied in /var/www/digitivy-prodmagento/MagentoStore/vendor/colinmollenhour/cache-backend-file/File.php on line 646
Expected result
after successfull installation of the magento 2 able to access the home page