Hey, I wanted to change the HTTP version to 2.0, but as soon as I change the HTTP version in PHP it will not work and give an error.
Someone already made a topic about the HTTP version and the admin claimed it supports both Http/2 and Http/1.1. The default protocol is Http/1.1 and I cannot change it. Here is the source: http version
I have also changed the PHP version from 5.4 to 7.4 but still no success.
in you .htaccess it should work. If your browser does not support HTTP/2, it will use HTTP/1.1 as a fallback.
Can you share a URL so we can check?
EDIT: Looking at the screenshot you provided, I can faintly see that you are in the “curl” section. Curl on InfinityFree does not support HTTP/2. Nowhere in the phpinfo() does it say HTTP/2 is disabled.