i have apache2 running as a local server. I had a wordpress site on localhost running happily. In trying to enable running phpMyAdmin apache2 somehow stopped executing php code, and I’ve been unable to re-enable it.
any help most gratefully received
Question posted in PhpMyAdmin
The official documentation can be found here.
The official documentation can be found here.
2
Answers
This is a configuration issue.
There should be a line:
And:
This will configure all files that start with ph. Like
.php
and.phtml
. The handler defines which extension files are processed by PHP.If you need to have
.html
files processed by PHP as well, you can put:Note that all your
.html
files would then be processes through the PHP interpreter.My problem was that I used the Brave Browser. That seemed to be the problem. PHP on apache2 and OpenSuse was working perfectly fine on all other major browsers (Chrome, Firefox, Edge).