php doesn't work

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

php doesn't work

Postby 12strings » 24. April 2013 23:39

I have run xampp localhost out of the box for sometime with 98SE, 2000, vista, XP & now win 7, both 32 & 64 bit.I have never had a problem until now. I've
tried the 1.8.0 on both machines but just like the older version. I must tell you I do have the visual c++ 2008. The control shows Apache &Mysql running,
access & edit my databases but PHP code only displays code. I'm hoping someone will advise ?
12strings
 
Posts: 28
Joined: 04. April 2013 17:56
Operating System: win 7 32 bit

Re: php doesn't work

Postby Altrea » 25. April 2013 05:06

What happens if you try to access http://localhost/xampp/?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8286
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: php doesn't work

Postby 12strings » 28. April 2013 02:27

it goes straight to phpmyadmin page. As I posted, I've been creating & editing my databases
12strings
 
Posts: 28
Joined: 04. April 2013 17:56
Operating System: win 7 32 bit

Re: php doesn't work

Postby Altrea » 28. April 2013 17:55

12strings wrote:it goes straight to phpmyadmin page.

It shouldn't. It should request the orange XAMPP Administration Page.

12strings wrote:As I posted, I've been creating & editing my databases

Well, phpmyadmin is also written in php, so your php seems to work, just your scripts didn't.

Most common "php don't get parsed issues":
  • Using short_open_tag
  • wrong Browser request (file:// instead of http:// protocol)
  • File extension .html instead of .php
  • wrong encoding (UTF8 with instead of without ByteOrderMark, UCS2 or other Multibyte- or other non-ANSI character encodings)

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8286
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: php doesn't work

Postby 12strings » 01. May 2013 02:56

Thanks for the responses,all of your question get a yes toss some mor@nme
12strings
 
Posts: 28
Joined: 04. April 2013 17:56
Operating System: win 7 32 bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 29 guests