Jump to content



  • Please log in to reply
3 replies to this topic

#1 acidglitter

  • Members
  • PipPipPip
  • Advanced Member
  • 355 posts

Posted 19 June 2006 - 10:07 PM

You know how you can view pages on your computer in your internet browser? HTML pages look fine but PHP codes don't work. Is there a program/browser that could make the php codes work even though the page isn't online?
my makeup site <3

#2 trq

  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 19 June 2006 - 11:10 PM

You need to setup a webserver with php enabled on your local pc. [a href=\"http://httpd.apache.org\" target=\"_blank\"]apache[/a] is a great choice.

#3 wildteen88

  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 20 June 2006 - 10:23 AM

Yes you need a webserver envrioment to be setup in order for your php scripts to work. PHP is server-side and is parsed by the server. Whereas HTML is client-side and is parsed by the web browser. Thats why you can run HTML scripts on your PC but not PHP scripts!

All you need is a webserver which thorpe has suggested and copy of PHP! [a href=\"http://www.php.net/manual/en/install.windows.apache2.php\" target=\"_blank\"]Windows installation instructions[/a]

Additonally you can install a pre-packaged version of Apache, PHP and MySQL + a few other little bits and pieces by installing WAMP5

#4 cwncool

  • Members
  • PipPipPip
  • Advanced Member
  • 50 posts

Posted 20 June 2006 - 02:27 PM

try this prepackaged version....
[a href=\"http://www.easyphp.org/\" target=\"_blank\"]http://www.easyphp.org/[/a]
that works great for me. all you do is download the installer and it does all the work! :)

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users