Hi folks,
I kind of wonder if anyone can advise or point me in the right direction:
My host system is Debian 8.4, running Virtualbox 5.0.24 on which CentOS7 is installed, running Apache 2.4, php 5.4.16 and phpMyAdmin. As far as i remember CentOS was installed headless with minimum security in a mind.
All working fine, there is a folder on host Debian which is mounted automatically in guest CentOS in /var/www/html. Any change to script in this folder is acknowledged by other side (CentOS) in sense that if I refresh browser in host which reads that script the change is displayed.
I would like to configure it the way that any file ending in .html would be parsed as php - right now any php code within such html file is kindly ignored :’(
Obviously, once the file extension is changed from .html to .php it works without any problem.
Googled it some and come across a solution which somehow did not work for me (at least for what i tried): .htaccess
The question is - instead of creating some extra configuration file can the same be achieved by configuring either php.ini or perhaps httpd.conf?
Well you know, i am stubborn muppet & could have installed xamp or something like that but why not to make the life much more difficult?