By default http2 support for php curl is not added , please add it , firebase and google apis have changed and soon will drop support for http1 , highly need this added .
https://www.aapanel.com/forum/d/16013-how-can-i-enable-http2-in-curl
I had to reinstall php 8.3 using fast method so the changes here in this tutorial to take effect, for some reason ...