作曲家依赖声明它没有 php-xsl。我正在尝试安装 phpdocumentor/phpdocumentor,但由于需要,它不会让我安装。所以现在我正在尝试安装要求,我得到了这个:
$ composer require phpdocumentor/template-zend
Using version ~1.3 for phpdocumentor/template-zend
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- phpdocumentor/template-zend 1.3.2 requires ext-xsl * -> the requested PHP extension xsl is missing from your system.
- phpdocumentor/template-zend 1.3.1 requires ext-xsl * -> the requested PHP extension xsl is missing from your system.
- phpdocumentor/template-zend 1.3.0 requires ext-xsl * -> the requested PHP extension xsl is missing from your system.
- Installation request for phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
Installation failed, reverting ./composer.json to its original content.
PHP信息:
xsl
XSL enabled
libxslt Version 1.1.28
libxslt compiled against libxml Version 2.9.1
EXSLT enabled
libexslt Version 1.1.28
还是它可能告诉我我需要 ext-xsl?那是什么?还是说我需要 PHP xsl?
这与标记的 dup 帖子不同,请参阅下面的评论以了解原因。