OOooohhhhh now I get it.
If you want to run php either the file has to have a .php extension or you have to tell apache that .html files should also be passed to the php interpreter as well.
I woudl stick to using the .php extension.
This line in httpd.conf tells apache to treat .php files in a special way
AddType application/x-httpd-php .php
That line makes apache pass the file to php for execution
If you want to use .html files as php code hosts you will need to do add another line like this
AddType application/x-httpd-php .html
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet your Apache/MySQL/mariaDB/PHP ADDONs here from the
WAMPServer alternate Repo-X-X-X-
Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-