DEV Community

Shaikh Al Amin
Shaikh Al Amin

Posted on

3

How to install PHP GRPC extensions in Ubuntu OS

First install the below library to make compatible with pecl

sudo apt install php-dev php-pear autoconf zlib1g-dev


Enter fullscreen mode Exit fullscreen mode

Now install the grpc using pecl with below command

sudo pecl install grpc
Enter fullscreen mode Exit fullscreen mode

Now open your php.ini file and add the below line any where

extension=grpc.so
Enter fullscreen mode Exit fullscreen mode

Now restart your web server if required.

For more details visit the below links:
GRPC Install Steps

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay