= 50.1 is needed to use CakePHP. Please update the `libicu` package of your system.'); } /* * You can remove this if you are confident you have intl installed. */ if (!extension_loaded('bcmath')) { exit('You must enable the bcmath extension to use the script. Please ask your hosting company to enable it.'); } /* * You can remove this if you are confident you have mbstring installed. */ if (!extension_loaded('mbstring')) { exit('You must enable the mbstring extension to use the script. Please ask your hosting company to enable it.'); } // Check if tmp directory and its subdirectories are writable $root = dirname(__DIR__); $config = $root . DIRECTORY_SEPARATOR . 'config'; $logs = $root . DIRECTORY_SEPARATOR . 'logs'; $tmp = $root . DIRECTORY_SEPARATOR . 'tmp'; $temp = [ $config, $logs, $tmp, $tmp . DIRECTORY_SEPARATOR . 'cache', $tmp . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR . 'models', $tmp . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR . 'persistent', $tmp . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR . 'proxy', $tmp . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR . 'views', $tmp . DIRECTORY_SEPARATOR . 'sessions', $tmp . DIRECTORY_SEPARATOR . 'tests', ]; foreach ($temp as $dir) { if (!is_writable($dir)) { exit("{$dir} directory must be writable."); } } function deprecationWarning($message, $stackFrame = 1) { return; }