Jump to content


Photo

simple.. maybe stupid question?


  • Please log in to reply
2 replies to this topic

#1 sw0o0sh

sw0o0sh
  • Members
  • PipPipPip
  • Advanced Member
  • 151 posts
  • LocationMassachusetts

Posted 02 August 2006 - 09:07 AM

Hi, I have a windows XP.

When I create an .html file on my desktop for say, I can edit and preview it locally (on my computer).

What would I need to / Can I do to have this for PHP?

#2 BillyBoB

BillyBoB
  • Members
  • PipPipPip
  • Advanced Member
  • 630 posts

Posted 02 August 2006 - 09:09 AM

um php is server side you would have to install php and apche and stuff it would be a hastle

#3 wildteen88

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

Posted 02 August 2006 - 10:50 AM

um php is server side you would have to install php and apche and stuff it would be a hastle

How is it a hastle, its easy.

But this is not what sw0o0sh is asking. sw0o0sh you can edit PHP files in the same way. Right click edit with Notepad or if no options are selected. Right click and select Open With > Chose from list. Now select Notepad from the list or any editor of your choice. Or you can download PHP Designer 2006 which you can get for free to edit your PHP files with.

If you want to test your PHP script, then simply download Apache 2.0.x (httpd.apache.org) and PHP 5.x xipped package (php.net) and install them on your local PC. Configure Apache to parse the PHP files with the PHP Intepreter and you're set, i'll be able to help with this only needs three lines to be added to the httpd.conf file. Or simply install a pre-packaged version which you can download for free called WAMP server - just google it should be the first result.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users