The headline says it all, I think... I tried to setup a local testserver using xampp, but after I set up everything there, it still didn't process .php files right. So I figured I might need to install actual PHP itself seperately, which i did. Now while that proved to be not the smartest thing to do because xampp includes it already, of course, it also messed up my php file display in my browser. What happens is that whenever I try to open a php file in my browser (tested with Firefox, IE7 and Chrome), it tries to download the file instead of displaying it, even after uninstalling PHP5 and running solely on xampp (I think).
Now what I tried to do is setting the application localhost should try to run php fiith, as well as set which files to process with httpd, aka adding those lines in my xampp's httpd.conf file:
Well, since that didn't do anything, I suspect that therE's something left of the PHP5 installation that overwrites xampp's settings there. Now I think I uninstalled it properly (installed it with the installer, and uninstalled it from the system control panel), so yeah... if anyone knows anything about what I can do to fix this, any help would be greatly apprechiated.
EDIT: One thing I just noticed is that my localhost/xampp tells me that I'm using 'C:\xampp\apache\bin\php.ini' as the php configuration file, while it should be 'C:\xampp\php\php.ini' to my understanding... something up with that?
Now what I tried to do is setting the application localhost should try to run php fiith, as well as set which files to process with httpd, aka adding those lines in my xampp's httpd.conf file:
Code:
Action application/x-httpd-php C:/xampp/php/php.exe
AddType application/x-httpd-php .php .php3 .phtml .php4
Well, since that didn't do anything, I suspect that therE's something left of the PHP5 installation that overwrites xampp's settings there. Now I think I uninstalled it properly (installed it with the installer, and uninstalled it from the system control panel), so yeah... if anyone knows anything about what I can do to fix this, any help would be greatly apprechiated.
EDIT: One thing I just noticed is that my localhost/xampp tells me that I'm using 'C:\xampp\apache\bin\php.ini' as the php configuration file, while it should be 'C:\xampp\php\php.ini' to my understanding... something up with that?