正常安装,试了几次都有这个问题,已经略过了,不知道对后续有没有影响
在执行composer update这个指令时候回报这个错误,我在官网查了一下,composer升级版本命令是composer self update,那么这个composer update应该是升级fecshop吧?
oot@wt:/home/wwwroot/fecshop# composer update
The "extra.asset-installer-paths" option is deprecated, use the "config.fxp-asset.installer-paths" option
Loading composer repositories with package information Your requirements could not be resolved to an installable set of packages.
Problem 1
- yiisoft/yii2-mongodb 2.1.5 requires ext-mongodb >=1.0.0 -> the requested PHP extension mongodb is missing from your system.
- yiisoft/yii2-mongodb 2.1.4 requires ext-mongodb >=1.0.0 -> the requested PHP extension mongodb is missing from your system.
- yiisoft/yii2-mongodb 2.1.3 requires ext-mongodb >=1.0.0 -> the requested PHP extension mongodb is missing from your system.
- yiisoft/yii2-mongodb 2.1.2 requires ext-mongodb >=1.0.0 -> the requested PHP extension mongodb is missing from your system.
- yiisoft/yii2-mongodb 2.1.1 requires ext-mongodb >=1.0.0 -> the requested PHP extension mongodb is missing from your system.
- yiisoft/yii2-mongodb 2.1.0 requires ext-mongodb >=1.0.0 -> the requested PHP extension mongodb is missing from your system.
- fancyecommerce/fecshop 1.2.2.4 requires yiisoft/yii2-mongodb ~2.1.0 -> satisfiable by yiisoft/yii2-mongodb[2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5].
- Installation request for fancyecommerce/fecshop >=1.2.2.4 -> satisfiable by fancyecommerce/fecshop[1.2.2.4].
To enable extensions, verify that they are enabled in your .ini files:
- /usr/local/php/etc/php.ini
- /usr/local/php/conf.d/002-zendguardloader.ini
You can also run php --ini
inside terminal to see which files are used by PHP in CLI mode.
中间我查了一下 /usr/local/php/conf.d/002-zendguardloader.ini
[Zend ZendGuard Loader]
zend_extension=/usr/local/zend/ZendGuardLoader.so
zend_loader.enable=1
zend_loader.disable_licensing=0
zend_loader.obfuscation_level_support=3
zend_loader.license_path=
~
~
这个配置,没有错,如果再去php.ini中配置这个参数,就会抱一个double的错误,证明这个参数配置生效了,但是错误
我网上搜了一下,是没安装PHP5-CURL
然后更新了一下ubuntu的php curl,已经没有php5-curl了,只有php-curl和php7.0-curl了,不知道有没有影响