I have been trying to resolve this for over a week. I found lots of people with similar problem and the fixes are basically adding : AddType application/x-httpd-php .html
AddType application/x-httpd-php .php
to the http.conf file.
This doesnt resolve. I can run a test file with a php extension and it works. when i embed just an echo statement within html code the php code is not executed. The files I am using have a php extension. I am not using short tags (using <?php <?>).
i have checked that wamp has loaded the php module.
I am using wamp server64 , apache 2.4.51. php7.4.26 on a windows 11 laptop
Can anyone help with this?
thanks
AddType application/x-httpd-php .php
to the http.conf file.
This doesnt resolve. I can run a test file with a php extension and it works. when i embed just an echo statement within html code the php code is not executed. The files I am using have a php extension. I am not using short tags (using <?php <?>).
i have checked that wamp has loaded the php module.
I am using wamp server64 , apache 2.4.51. php7.4.26 on a windows 11 laptop
Can anyone help with this?
thanks