Fatal error: Uncaught Magento\Framework\Exception\FileSystemException: Directory "/var/www/html/var/cache/" cannot be created Warning!mkdir(): Permission denied in /var/www/html/vendor/magento/framework/Filesystem/Driver/File.php:272 Stack trace: #0 /var/www/html/vendor/magento/framework/Filesystem/Driver/File.php(243): Magento\Framework\Filesystem\Driver\File->mkdirRecursive() #1 /var/www/html/vendor/magento/framework/Filesystem/Directory/Write.php(99): Magento\Framework\Filesystem\Driver\File->createDirectory() #2 /var/www/html/vendor/magento/framework/App/Cache/Frontend/Factory.php(313): Magento\Framework\Filesystem\Directory\Write->create() #3 /var/www/html/vendor/magento/framework/App/Cache/Frontend/Factory.php(148): Magento\Framework\App\Cache\Frontend\Factory->_getBackendOptions() #4 /var/www/html/vendor/magento/framework/App/Cache/Frontend/Pool.php(69): Magento\Framework\App\Cache\Frontend\Factory->create() #5 /var/www/html/vendor/magento/framework/App/Cache/Frontend/Pool.php(156): Magento\Framework\App\Cache\Frontend\Pool->_initialize() #6 /var/www/html/vendor/magento/framework/App/Cache/Type/FrontendPool.php(87): Magento\Framework\App\Cache\Frontend\Pool->get() #7 /var/www/html/vendor/magento/framework/App/Interception/Cache/CompiledConfig.php(29): Magento\Framework\App\Cache\Type\FrontendPool->get() #8 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\App\Interception\Cache\CompiledConfig->__construct() #9 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject() #10 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create() #11 /var/www/html/vendor/magento/framework/App/ObjectManager/Environment/Compiled.php(117): Magento\Framework\ObjectManager\ObjectManager->get() #12 /var/www/html/vendor/magento/framework/App/ObjectManagerFactory.php(191): Magento\Framework\App\ObjectManager\Environment\Compiled->configureObjectManager() #13 /var/www/html/vendor/magento/framework/App/Bootstrap.php(212): Magento\Framework\App\ObjectManagerFactory->create() #14 /var/www/html/vendor/magento/framework/App/Bootstrap.php(127): Magento\Framework\App\Bootstrap->__construct() #15 /var/www/html/pub/index.php(45): Magento\Framework\App\Bootstrap::create() #16 {main} thrown in /var/www/html/vendor/magento/framework/Filesystem/Driver/File.php on line 272