安装composer时出现PHP错误

时间:2017-10-11 10:14:56

标签: php laravel installation

enter image description here

我尝试在Windows 10上安装composer,我打开composer.exe然后单击下一步直到我到达为它选择PHP命令行,所以我从下拉菜单中选择了php 7.0并单击下一步。然后我遇到了这个屏幕截图中显示的错误。 请帮我解决这个问题并告诉我如何使用PHP 7.0命令行安装composer。

2 个答案:

答案 0 :(得分:0)

使用composer.phar

它的便携式解决方案更舒适

答案 1 :(得分:0)

there was a file MSVCP140.dll missed from my PC that is required by php_intl.dll extension file.
I installed it on my windows then I restart my PC and installed Composer.exe without any errors :)

click here to learn how to install .dll files on windows.