use the above command to solve
PHP Fileinfo extension
PHP Fileinfo extension is required.