要将php与firebase集成,我必须在我的grpc
中加入php.ini
并进行编写,但是会出现以下错误。
PS C:\wamp64\www\gfs> composer require "grpc/grpc:^v1.1.0"
./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
- Installation request for grpc/grpc v1.1.0 -> satisfiable by grpc/grpc[1.1.0].
- grpc/grpc 1.1.0 requires ext-grpc * -> the requested PHP extension grpc is missing from your system.
Problem 2
- google/gax 1.0.3 requires grpc/grpc ^1.4 -> satisfiable by grpc/grpc[1.10.0, 1.12.0, 1.13.0, 1.15.0, 1.19.0, 1.22.0, 1.4.0, 1.4.7, 1.6.0, 1.9.0] but these conflict with your requirements or minimum-stability.
- google/gax 1.0.3 requires grpc/grpc ^1.4 -> satisfiable by grpc/grpc[1.10.0, 1.12.0, 1.13.0, 1.15.0, 1.19.0, 1.22.0, 1.4.0, 1.4.7, 1.6.0, 1.9.0] but these conflict with your requirements or minimum-stability.
- google/gax 1.0.3 requires grpc/grpc ^1.4 -> satisfiable by grpc/grpc[1.10.0, 1.12.0, 1.13.0, 1.15.0, 1.19.0, 1.22.0, 1.4.0, 1.4.7, 1.6.0, 1.9.0] but these conflict with your requirements or minimum-stability.
- Installation request for google/gax (locked at 1.0.3) -> satisfiable by google/gax[1.0.3].
To enable extensions, verify that they are enabled in your .ini files:
- C:\php\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.
PS C:\wamp64\www\gfs> composer require "grpc/grpc:^v1.1.0"