Php pages on the desktop

by 8 replies
9
Up until about a year ago, browsers would show the html parts of a .php page as a regular web page in the browser window. The php parts called for by the includes would just be left blank.

Now they don't do it anymore. IE, FF, and chrome all just show the source code as the web page. I can change the .php to .html by renaming the file, but it's a PIN doing it often. Is there a work around for this?

I've never yet installed wamp or xamp on the computer, and hate to do it for a minor issue like this, but might if I have to.
#website design #desktop #pages #php
  • Yeah, you definitely need XAMPP or WAMP for this. Neither of them are hard to install, and you only have to do it once. Plenty of tutorials out there to walk you through it... just Google "install XAMPP tutorial".
    • [1] reply
  • Yes..I agree with brandon.
  • I hate to install Wamp or xampp for just this. It isn't needed. If I just change the file extension from php to html all the parts of the page I want to see, show up just fine. Only the php includes are left blank.

    It does not need server type processing to do this. All the browsers used to show php pages on a desktop like this, but they seem to have quit.

    Does anyone know of a browser that still does this?
    • [1] reply
    • Hi there,

      i don't know of a browser that acts like that but you can install WAMP with just one click using a bitnami's WAMP Stack...you can also install wordpress or anything using one(almost...you have to press some "next" buttons) click.

      Check them out here: BitNami Stacks


      Stelios D
  • Thanks steli, that looked interesting. I assumed I would want what they call the php stack, but when I tried to find what version of php it runs there was no info.
    • [1] reply
    • If you are on windows you will need what the call WAMPStack and it runs php 5.3




      Regards,
      Stelios D
  • Got it just in case this is useful to anyone else. Opera opens them as web pages. (Thank you Opera.)

    No wamp needed.

Next Topics on Trending Feed

  • 9

    Up until about a year ago, browsers would show the html parts of a .php page as a regular web page in the browser window. The php parts called for by the includes would just be left blank. Now they don't do it anymore. IE, FF, and chrome all just show the source code as the web page. I can change the .php to .html by renaming the file, but it's a PIN doing it often. Is there a work around for this?