Search code examples
phplaravelubuntugrpcpecl

installing grpc extension for php on ubuntu failed


command: sudo pecl install grpc

I tried installing grpc extension for php on ubuntu with the above command. The installation started then got stuck at some point, after which, it failed and outputted this error:

g++: fatal error: Killed signal terminated program cc1plus compilation terminated. make: *** [Makefile:1428: src/core/ext/xds/xds_server_config_fetcher.lo] Error 1

ERROR: `make' failed

how do i resolve this ?


Solution

  • SOLUTION

    Resized the droplet, from 1gb to 4gb, and it worked; build completed.

    I hope this helps someone.