1. Home
  2. Computing & Technology
  3. PHP / MySQL
photo of Angela Bradley
Angela's PHP / MySQL Blog

By Angela Bradley, About.com Guide to PHP / MySQL

Why does your PHP code show as text instead of running?

Wednesday October 10, 2007
You've gone through our tutorial and written your first PHP program, but when you go to run it all you see in your browser is the code, the program doesn't actually run. What went wrong? Well the most common reason for this is that you are trying to run it somewhere that doesn't support PHP. [read more]
Comments
October 11, 2009 at 9:21 am
(1) nic says:

i have this issue, but i dont exactly understand what to do. i have re-installed php, phpmyadmin, apache, mysql and read through the tutorials, etc. but when i go to http://localhost/phpmyadmin , i just get this:

http://up2share.com/file/a8anr4hji_wtf.JPG

and when i click a .php in it, it opens hundreds of tabs endlessly on my firefox. also, when i click another type, it opens a code of some sort.
when i click HTML extensions though, it loads properly! any tips/help?

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore PHP / MySQL
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. PHP / MySQL

©2009 About.com, a part of The New York Times Company.

All rights reserved.