Php CentOS 7 Lampp上磁电机2.4的正确许可是什么

Php CentOS 7 Lampp上磁电机2.4的正确许可是什么,php,magento,centos7,linode,Php,Magento,Centos7,Linode,我在XAMPP上使用带有CentOS 7 Magnetor 2.4的Linode。我尝试了各种权限集,但最终遇到了这个问题。请建议正确的许可 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

我在XAMPP上使用带有CentOS 7 Magnetor 2.4的Linode。我尝试了各种权限集,但最终遇到了这个问题。请建议正确的许可

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

2.4 ? 2.3甚至没有发布,但您可能需要设置文件夹所有权,如果权限正确,请将web用户设置为文件夹所有者致命错误:未捕获Zend_Cache_异常:Cache_dir“/opt/lampp/htdocs/magento2/var/Cache/”不可写入/opt/lampp/htdocs/magento2/vendor/magento/zendframework1/library/Zend/Cache.php:209堆栈跟踪:#0