Page 1 of 1

PHP activated but not working on Win7 64-bit

PostPosted: 04. October 2011 00:10
by neo3000ultra
Hi, I have just installed XAMPP 1.7.7 on 2 Windows 7 64-bit computers. By checking the statues showing on http://localhost/xampp/ I can see the php service is activated. I ran the installer as an administrator.

But when I try to open a php file in IE, it either asks me to download the php file or open it as a plain text file. The php language is not interpreted. However, this version of XAMPP works perfectly fine on my other Windows XP machines. Can anyone please offer a solution on how to fix the above php problem on Win7 64-bit? Thanks in advance.

Re: PHP activated but not working on Win7 64-bit

PostPosted: 04. October 2011 00:13
by Sharley
What are you typing in your browser's address bar?

Re: PHP activated but not working on Win7 64-bit

PostPosted: 04. October 2011 00:15
by neo3000ultra
Sharley wrote:What are you typing in your browser's address bar?

I was trying to access a local php file stored on my harddrive. It is something like "C:\xampp\test\test.php"

Re: PHP activated but not working on Win7 64-bit

PostPosted: 04. October 2011 00:18
by Sharley
neo3000ultra wrote:I was trying to access a local php file stored on my harddrive. It is something like "C:\xampp\test\test.php"
This is not possible to do as php files have to be parsed by the server.

Try http://localhost/test/test.php

Re: PHP activated but not working on Win7 64-bit

PostPosted: 04. October 2011 00:31
by neo3000ultra
Sharley wrote:
neo3000ultra wrote:I was trying to access a local php file stored on my harddrive. It is something like "C:\xampp\test\test.php"
This is not possible to do as php files have to be parsed by the server.

Try http://localhost/test/test.php


Thanks! It seems working now. :-)