在使用composer安装mpdf时,出现以下错误,请看看是怎么回事:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires PHP extension ext-apache * but it is missing from your system. Install or
Problem 2
- Root composer.json requires phpoffice/phpspreadsheet 1.12 -> satisfiable by phpoffice/phpspreadsheet[1
- phpoffice/phpspreadsheet 1.12.0 requires ext-fileinfo * -> it is missing from your system. Install or
Problem 3
- Root composer.json requires overtrue/wechat 4.2.11 -> satisfiable by overtrue/wechat[4.2.11].
- overtrue/wechat 4.2.11 requires ext-fileinfo * -> it is missing from your system. Install or enable PH
第一个错误的应该是缺少apache扩展,这个扩展该怎么安装呢?可以的话,请给出具体安装方法。我在这方面是小白。
|
|