Sup*_*iwi 6 php windows installation mamp composer-php
所以这是我得到的问题:
我正在尝试安装Composer并且我MAMP在Windows上使用(它自1月初开始存在).
和ComposerWindows上的许多用户一样,我遇到了这个错误:
Some settings on your machine make Composer unable to work properly. Make sure that you fix the issues listed below and run this script again: The openssl extension is missing, which means that secure HTTPS transfers are impossible. If possible you should enable it or recompile php with --with-openssl"
所以我检查了正确的php.ini页面,如果它没有,那就是!
我找不到任何帮助,因为MAMPWindows上的用户很少.
感谢您的帮助或建议
Tec*_*hie 17
\MAMP\conf\"文件夹中的php.ini或将php.ini复制到\MAMP\bin\php\php[your PHP version number]\ extension=php_openssl.dll";extension=php_openssl.dll- 删除" ;"有同样的问题.
解决方案非常简单:
确保extension=php_openssl.dll取消注释(删除;)并将 php.ini文件复制到php.exe所在的同一目录,因为Composer在那里搜索php.ini文件,而不是在MAMP conf文件夹中.