什么是在CentOS 7 Lampp上对Magneto 2.4的正确权限

时间:2018-09-09 20:25:48

标签: php magento centos7 linode

我在XAMPP上将Linode与CentOS 7 Magneto 2.4一起使用。我尝试了各种权限集,但最终遇到了这个问题。请提出正确的权限。

Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/opt/lampp/htdocs/magento/var/page_cache" is not writable in /opt/lampp/htdocs/magento/vendor/magento/zendframework1/library/Zend/Cache.php:209 Stack trace: #0 /opt/lampp/htdocs/magento/vendor/magento/zendframework1/library/Zend/Cache/Backend/File.php(180): Zend_Cache::throwException('cache_dir "/opt...') #1 /opt/lampp/htdocs/magento/vendor/colinmollenhour/cache-backend-file/File.php(87): Zend_Cache_Backend_File->setCacheDir('/opt/lampp/htdo...') #2 /opt/lampp/htdocs/magento/vendor/magento/zendframework1/library/Zend/Cache.php(153): Cm_Cache_Backend_File->__construct(Array) #3 /opt/lampp/htdocs/magento/vendor/magento/zendframework1/library/Zend/Cache.php(94): Zend_Cache::_makeBackend('Cm_Cache_Backen...', Array, true, true) #4 /opt/lampp/htdocs/magento/vendor/magento/framework/App/Cache/Frontend/Factory.php(158): Zend_Cache::factory('Magento\\Framewo...', 'Cm_Cache_Backen in /opt/lampp/htdocs/magento/vendor/magento/zendframework1/library/Zend/Cache.php on line 209

0 个答案:

没有答案