Solved: Program that tests php scripts?

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

colinsp

Colin
Joined
Sep 5, 2007
Messages
2,322
What do you mean "without turning it into a server"?

PHP is a server side language and so you must have PHP running before you can test a php script.

The easiest way is with one of the bundled packages like Wampserver or Xamp.
 
Joined
Dec 28, 2008
Messages
249
I think he means without having to set up a decicated server or anything complicated when he just wants to check a script works.

Solution: Download SimpleServer, set the directory to where your PHP script is and go to http://localhost/ in your browser. Takes 2 mins to set up, rather than having to download apache/php etc and configure it.
 

colinsp

Colin
Joined
Sep 5, 2007
Messages
2,322
matthewdownloads;8586303Solution: Download [URL="http://www.analogx.com/contents/download/Network/sswww/Freeware.htm" said:
SimpleServer[/URL], set the directory to where your PHP script is and go to http://localhost/ in your browser. Takes 2 mins to set up, rather than having to download apache/php etc and configure it.
Matthew, this is just an alternative to the 2 that I mentioned in my post. Wampserver and Xamp are exactly the same and only take 2 minutes to get running like this one you mentioned.
 

corgwork

Thread Starter
Joined
Jul 10, 2008
Messages
109
thanks for the replies. I did try xampp previously and it was too confusing and also i don't like making my computer more vulnerable when i'm online.

Is SimpleServer, simpler? and does it turn your computer into an open server?
 

colinsp

Colin
Joined
Sep 5, 2007
Messages
2,322
All the programmes mentioned on this post are very similar. They create an Apache webserver with PHP and MySQL for use for testing purposes on your PC.They are not intended as webservers to deliver a website to the internet, they are intended for local use only. If so configured another PC connected to your router could have access to the Apache server BUT to connect that server to the internet so that others could access your website is not easy or its intended use. Running this does not imho make your PC more vulnerable when on-line.

Personally I use Wampserver all the time without issue. I don't believe that any are simpler or harder than one another. I would suggest that you do some reading of the documentation with which ever one you go for they really aren't that complex.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top