Apache can't know, that this filetype (.php5) had to be parsed by the php parser first.
The easiest way will be to rename your files from .php5 to .php
The other way is to define, that .php5 files should be parsed too:
- Open your file \xampp\apache\conf\extra\httpd-xampp.conf
- Search for "<FilesMatch "\.php$">" (~line 22) and change this line to
- Code: Select all
<FilesMatch "\.(php|php5)$">
- Search for "AddType text/html .php .phps" (~line 46) and change this line to
- Code: Select all
AddType text/html .php .phps .php5
If you want to use PHP as CGI Module in the future, you have to do the first change in ~line 36 too.