Thursday, June 5, 2008

First Challenge - PHP

My first real challenge came when I had to download the Apache program. I followed the link and downloaded the program, not a problem. I then went to the modules and started to look at one of the tutorials available through Webmonkey. Easy, just copy and paste the code into the text editor. But then it took me an hour to work out where to save it to on my hard drive.

I consulted chapter 1 of Ullman's book, and the Appendix A in the back of the book, and also the suggestions made on webmonkey. All three had varying instructions which confused me even more. Dewa had talked about problems with doing this also on the forum, so I consulted that thread to try to glean some more information on where and how.

Eventually it was just a matter of a process of elimination. The book and website said the 'htdocs' file was inside the Apache file or the 'inetpub' file (wherever that is - never found that one), but eventually I found it in the Xampp file. Once I had that sorted I had my test page showing up in my browser within seconds.

Love it when I can work through a problem!

No comments: