The URL http://localhost/PHP/inxex.php works fine. But http://localhost/PHP/ has the wrong MIME type: the index.php file is downloaded, not handled. This only happens in Brave; I’ve also tested in Edge and Chrome.
The Content-Type: header is application/x-httpd-php instead of text/html, and Brave downloads the file.
I suspect this is a misconfiguration of my local HTTPD server, latest version from Apache. I would seek help from the Apache httpd forum, but why does it work correctly from other browsers, just not Brave?
LoadModule fcgid_module modules/mod_fcgid.so
#Path to php-cgi
FcgidWrapper “c:/php/php-cgi.exe” .php
AddHandler fcgid-script .php
# Define the MIME-Type for “.php” files
#AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Any help appreciated.