magento – 500 Internal Server Error error

[11-May-2017 15:43:19 UTC] PHP Fatal error: Uncaught exception ‘Zend_Cache_Exception’ with message ‘cache_dir “/home/domain.tld/public_html/var/cache/” is not writable’ in /home/domain.tld/public_html/vendor/magento/zendframework1/library/Zend/Cache.php:209
Stack trace:

Let’s set up the right file permissions!

cd/home/domain.tld/public_html/
sudo find . -type d -exec chmod 755 {} \; && sudo find . -type f -exec chmod 644 {} \; && sudo chmod u+x bin/magento

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.