I am starting to learn PHP (I’m OK with C, C++ and C#) and I have a remote web server I am using for testing.
My problem is that my test/debug process consists of:
Edit Code (using Brackets)
Upload to web server (using FileZilla)
Wait for 1-minute cron job to execute code (because I don’t have access to command line)
Check an output file for any errors.
Repeat
This is all a bit slow and frustrating, how do other people do this?
I do have a WAMP installation on my box, is that the way to go instead?
Yes, that is one option, if you already have it installed it should be easy. Certainly better than testing remotely.
Though there are other options for a local environment.
I’ve used http://www.usbwebserver.net/en/ to good effect. I use it as the web server for a timing system i built for mountain bike race events and it runs on a single machine and can be networked so we can print from other machines whilst the main machine is being used for timing etc.
It is self contained so you can just put it on any windows machine and run it and your website will appear. It’s pretty fast as it’s all local and you can just edit the files in the html directory and the changes are instantly live.