Hello community and thank you for this forum.
I’m new to Platform.sh and using grpc to communicate with CloudFirestore on my Symfony app.
I’m not sure I fully understand how I should install grpc extension php on the environment.
I need to follow this : https://cloud.google.com/php/grpc
I need to install PECL with this command
sudo apt-get install autoconf zlib1g-dev php-dev php-pear
then install grpc through that.
I also need to enable extension=grpc.so.
Should I modify the platform.app.yaml file like this?
dependencies:
php:
grpc/grpc: "1.48.0"
compose/compose: "^2"
Load a bash .sh script for the install command ?
I saw in the documentation that I could load a new php.ini file or maybe use ‘variable’ in platform.app.yaml instead, but I’m not sure how to do it right…
Thank you very much for your help and your time