swordz
Aug 4 2008, 09:02 AM
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
Aug 4 2008, 09:09 AM
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
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.
Bogey
Aug 17 2008, 05:46 AM
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
Aug 17 2008, 10:13 AM
QUOTE(Bogey @ Aug 17 2008, 06:46 AM)

I agree, wamp or xxamp, but tbh xxamp is packed with aload of crap.
Trippin7464
Aug 17 2008, 06:52 PM
I personally prefer Apache2Triad.
http://apache2triad.net/
Sugarblossoms
Aug 19 2008, 07:59 AM
I like working with EasyPHP.
NaRzY
Aug 19 2008, 09:11 AM
WAMP is the way to go. I have used it for a few years and never had a problem with it.
Jacob.
Glenn McGurrin
Aug 20 2008, 07:59 PM
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.