Why can't I view php files on my pc?

  • Thread starter Thread starter leito339
  • Start date Start date
L

leito339

Guest
And how can I change it so that I can? (on windows xp and also on Linux)
Doing this would be very helpful as I am starting to learn php and find it annoying having up tupload it each time I edit it.
 
that means you have to buy windows vista and then buy a php viewer around $20000
 
PHP has to be interpreted and run server-side. So you could run it on your local PC but you need a Server which will run it. You would need to install IIS or Apache and then the associated programs which run PHP.
 
download WAMP from http://www.wamp.com that'll have the php server within it and apache to host the web page. it's simple small and easy to set up. both programs separate won't work.
 
You need Apache (or IIS, comes with XP Pro). I'd advise you to get XAMPP, it is available for Windows and Linux, and it comes with Apache as well as MySQL and FTP which is easier to install than if you download off Apache. Simply extract to a folder then run xampp_start.exe and apache_start.bat (for Windows, for Linux check the manual).
 
Back
Top