0

I am using magento 2.3.2 community edition. While update any setting at backend I am getting error like

Warning: file_put_contents(/var/www/html/ihouzit/var/cache//mage-tags/mage---39a_MAGE): failed to open stream: Permission denied in /var/www/html/ihouzit/vendor/colinmollenhour/cache-backend-file/File.php on line 691

Sometimes to mage MysqlPDO file. Why this happens lot of times. Always I run permission command, then it comes in normal. Any fix solution for this issue?

Same error for bellow file also

var/cache//mage-tags/mage---39a_DB_PDO_MYSQL_DDL): failed to open stream

Thanks in advance.

  • Please set default Magento file and directory permissions – Kishan Savaliya Dec 4 '19 at 9:29
  • yes I have set 777 for vendor and cache folder – Maruti_magento2 Dec 4 '19 at 9:44
  • Please follow this link. – Kishan Savaliya Dec 4 '19 at 9:48
  • I have set , but it reoccur again again..this is the main issue. – Maruti_magento2 Dec 5 '19 at 4:39
0

Set permission 777 to your var, generated and pub folder.

chmod -R 777 pub/*;
chmod -R 777 var/*;
chmod -R 777 generated;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.