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\Fron in /var/www/html/vendor/magento/framework/Filesystem/Driver/File.php on line 272