xpress 0 Report post Posted December 16, 2008 Dear friend I generally after creating a php page test it with my web hosting service provider I don't know but I think its a difficult one to make your own server to just test your php pages.?Its not difficult to install your local server contactskn. Its very easy. I'll tell you a simplest method. Just download WAMP Server. Install it in your computer. Then put your php files in the WWW folder. Start the WAMP Server. Then open your browser and type LOCALHOST/yourfilename.php . Thats it. Very easy. Try it once and you'll understand that it is pretty easy than uploading and testing on remote server. I'll help you if you need any further help Share this post Link to post Share on other sites
triplebtalk 0 Report post Posted December 31, 2008 I have a testing server which is run by EasyPHP. It is simple and very easy to use. All I need to do is put my files in a folder called "www" and open up the files on the EasyPHP application... Simple:) Share this post Link to post Share on other sites
MALISH_ 0 Report post Posted February 20, 2009 I have a "schwarz" server, there i test my "all" Share this post Link to post Share on other sites
Quatrux 4 Report post Posted February 20, 2009 I just do all the PHP programming on localhost, on Windows I just have installed Wampserver and it all works, phpmyadmin, mysql and php, apache and the settings is easy to change and the default is very well set, I like Wampserver that it's easy to change between PHP4 and PHP5, even though for half of year now I don't make PHP4 compatible code anymore, even though I had a client which wanted it to work on PHP4, it took a bit to change that and that or add a function which does almost the same thing..I always use an PHP IDE and execute the PHP code through a browser, just by changing between windows, I don't use the debug mode in the IDE, even though my IDE has real time php checking for syntax errors and such Share this post Link to post Share on other sites
iworld200 0 Report post Posted August 27, 2009 I was so much worried before, thinking, i need a website and a webhost in order to test my php programs and my search through internet gave me a nice suggestion, and i got my dream program easyPHP. its the best for the beginner. It has everything that a beginner and an advanced programmer needs. Its very easy to run. After having installed, I checked whether the easyPHP is running or not by opening up the browser and entering LOCALHOST; the default page of easyPHP loads. All the php programs need to be placed inside "www" folder of easyPHP. It can be tested by using the following url LOCALHOST/example.phpplease note : its just an example of the code to execute. Share this post Link to post Share on other sites
alexthemans 0 Report post Posted August 29, 2009 We know that php is a server side scripting language. So we will need a server with the php parser to parse/test our code.How are you doing that. Do you upload it to a server for testing or did you instal php and the server (apache) on your computer (localhost) If you are laxy enough and are very familiar in HTML, you may run PHP scripts from the command line. http://us3.php.net/manual/en/features.commandline.phpHowever, I instead test PHP application in a free hosting space. Share this post Link to post Share on other sites
TheDarkHacker 0 Report post Posted October 29, 2009 First i test scripts on my local server and if it works and if it is good,with good design and it is not damaging my website,i am uploading it on my server.The funny thing is, that some funny scripts which i want to be published to the internet,i am uploading them but with very complicate name.So if i go in someones home,i want to show him what script i did and i open it on his computer.Sometimes i give simple names so am sending links of my script.But always that funny scripts are without design and only stupid things.Example Test:Like what animal you are looking likeMy local server sometimes doesn't work so i need to restart my computer...Thing i want to do is to make scripts for others,for example someone doesn't know how to create image, and i want to help him,and on that way i learn more. Share this post Link to post Share on other sites
magiccode9 0 Report post Posted October 29, 2009 On some old day I test my php code by simply echo 'something` to the web page or screen.Now I use unit testing for testing the code on localhost.This ensure that at least all my functions or classes work as expected.Then, moving on to hosting to test the rest of code. Share this post Link to post Share on other sites