wingguy wrote:The ini file was changed to parse the files to work correctly.
??
Which ini files? You need to change the Apache configuration (as Apache triggers PHP due to the extension) and Apache is not configured via any ini file?!
You must edit the proper *.conf file, i think either httpd.conf or extra/httpd-xampp.conf and look/edit the following line (search with an editor):
- Code: Select all
AddType application/x-httpd-php .php .php3 .php4
Add any extension you need (for example .html and .htm):
- Code: Select all
AddType application/x-httpd-php .php .php3 .php4 .html .htm
finally restart Apache.
BUT: i do not recommend this kind of setup, its a waste of ressources, as every HTML file now is running thru PHP interpreter even if there is no PHP inside. You have no option to deny any file from being parsed. You will also get into troubles when uploading your project to any webhoster, as these usually do NOT handle HTML files same as PHP files. It's definately a word wide standard to call PHP files *.php and not *.html.