An error was encountered

Error: Unable to write configuration cache file to cache directory. Please make sure PHP has write access to the directory 'cache'.