PHP activated but not working on Win7 64-bit

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP activated but not working on Win7 64-bit

Postby neo3000ultra » 04. October 2011 00:10

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.
neo3000ultra
 
Posts: 3
Joined: 04. October 2011 00:01

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

Postby Sharley » 04. October 2011 00:13

What are you typing in your browser's address bar?
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

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

Postby neo3000ultra » 04. October 2011 00:15

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"
neo3000ultra
 
Posts: 3
Joined: 04. October 2011 00:01

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

Postby Sharley » 04. October 2011 00:18

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
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

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

Postby neo3000ultra » 04. October 2011 00:31

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. :-)
neo3000ultra
 
Posts: 3
Joined: 04. October 2011 00:01


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 39 guests

cron