How to install gRPC properly?
Good days, I am trying to install the library with the "pecl install grpc" command and it is returning the following error: "Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\php\pear\PEAR\Config.php on line 2095".
I don't know why but it gives a PHP related syntax error.
The PHP version I'm using is:
"PHP 8.2.0 (cli) (built: Dec 6 2022 15:31:23) (ZTS Visual C++ 2019 x64) Copyright (c) The PHP Group Zend Engine v4.2.0, Copyright (c) Zend Technologies"
And it is not only that file but many more with which it gives a syntax error.
Tried reinstalling PHP and Xampp
Any solution or idea on how to fix it or install it properly?
Thank you.