이 제대로 실행되지 않은 지정된 PHP EXE 파일 :Composer는 현재 설정
C:\xampp\php\php.exe
당신의 명령 줄 PHP에서 사용하는 php.ini
은 다음과 같습니다 C:\xampp\php\php.ini
프로그램 출력 :
경고 : PHP 시작 : mongo : 모듈을 초기화 할 수 없습니다.
모듈 com 모듈 API로 쌓여 = 20121212
PHP 모듈 API로 컴파일 = 20131226이 옵션은 0
업데이트
작곡가는 PHP에서 MongoDB의 확장을 찾을 수없는 라인에 알 수없는에서 일치시킬 필요가
C:\wamp\www\phpmongodb>composer require "mongodb/mongodb=^1.0.0"
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
./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
- mongodb/mongodb 1.0.2 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system.
- mongodb/mongodb 1.0.2 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system.
- mongodb/mongodb 1.0.1 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system.
- mongodb/mongodb 1.0.0 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system.
- mongodb/mongodb 1.0.2 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system.
- Installation request for mongodb/mongodb ^1.0.0 -> satisfiable by mongodb/mongodb[1.0.0, 1.0.1, 1.0.2].
To enable extensions, verify that they are enabled in those .ini files:
- C:\wamp\bin\php\php5.5.12\php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Installation failed, reverting ./composer.json to its original content.
원래 질문을 새 질문으로 바꿨습니다. 그렇게하지 마! 원본 질문이 표시되고 새 콘텐츠가 업데이트로 추가되도록 편집을 되돌 렸습니다. –