Help - Search - Members - Calendar
Full Version: Viewing Php
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > PHP
swordz
Hi.

I'm fairly new to PHP, and just have a quick question.

Currently, whenever i make a PHP file, I upload it to the Zymic server, and view it from my site. This is fine when everything works, but when it doesn't, it then means that the bugged file is online for everyone else to see, which I'd rather wasn't the case!

Is there anyway to view PHP on my computer without it being online? I downloaded PHP from PHP.net, but couldn't see how to get it working.

Thanks,
swordz
Alex
You need a local web server, apache is the normal choice. You can install that and then PHP on top of it (and you might also want mysql's database daemon running as well so you can test applications which utilise a database as well), or you can use a WAMP (Windows, Apache, MySQL, PHP) package like xampp to install the lot in one go. When that's installed you put the files in the web server's htdocs, and then access them via your web browser by visiting http://localhost/.
Clew
an easier way is to just make a folder on your account, call it "test" or something, for uploading your test pages to look at them, that way only you can see them, and it saves installing stuff on your computer.
Bogey
QUOTE(Clew @ Aug 7 2008, 03:09 PM) *
an easier way is to just make a folder on your account, call it "test" or something, for uploading your test pages to look at them, that way only you can see them, and it saves installing stuff on your computer.

umm... php files don't just work like regular HTML files do. You need a local server for PHP files.

I recommend WAMP.
Crown
QUOTE(Bogey @ Aug 17 2008, 06:46 AM) *
I recommend WAMP.

I agree, wamp or xxamp, but tbh xxamp is packed with aload of crap.
Trippin7464
I personally prefer Apache2Triad. http://apache2triad.net/
Sugarblossoms
I like working with EasyPHP.
NaRzY
WAMP is the way to go. I have used it for a few years and never had a problem with it.

Jacob.
Glenn McGurrin
I use both wamp, and wosportable, they both work great for me. the advantage to wosportable is no installation, just unpack the zip and run it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.