For Programmers: Free Programming Magazines  


Home > Archive > PHP on Windows > October 2004 > running local PHP files in a browser without installing a web server









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author running local PHP files in a browser without installing a web server
Greg Klotz

2004-10-14, 3:56 pm

Hello
I'm wondering if it's possible to simply run PHP pages and make SQL queries on my computer using local files and creating a local database without having to install and run a web server. Basically, I'd like to be able to create the PHP pages and test the
m locally in a browser window on my computer before I upload them to a server, and not have to install and run a web server. Right now, when I run the files locally, the PHP code is written to the browser page rather than executed. Is there a way to ins
tall a minimum of PHP software components for local file testing? Thanks.
Greg


---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
Norbert Gruettner

2004-10-14, 3:56 pm

Hello Greg,

in order to get php-scripts executed on your computer, you will have to
install a local web-server.
Please provide details of your operating systems so that I can give you some
recommendations.

regards
Norbert

"Greg Klotz" <gregcklotz@yahoo.com> schrieb im Newsbeitrag
news:20041014141406.81994.qmail@web21529.mail.yahoo.com...
> Hello
> I'm wondering if it's possible to simply run PHP pages and make SQL

queries on my computer using local files and creating a local database
without having to install and run a web server. Basically, I'd like to be
able to create the PHP pages and test them locally in a browser window on my
computer before I upload them to a server, and not have to install and run a
web server. Right now, when I run the files locally, the PHP code is
written to the browser page rather than executed. Is there a way to install
a minimum of PHP software components for local file testing? Thanks.
> Greg
>
>
> ---------------------------------
> Do you Yahoo!?
> vote.yahoo.com - Register online to vote today!

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com