I'm having a problem with the windows 7 install. First let me say that I have done programming many years ago, but have not done any serious coding in a couple of decades. Needless to say, I'm fumbling my way around in the dark with php and mysql. But here I am!
I installed xampp and am trying to create a testing site in Dreamweaver. I found this lovely gentleman, David Powers(? I think), that has a nice tutorial for doing this. In fact, it was his tutorial that recommended xampp. So the tutorial instructions are using DW CS4, which is the same as I have, but I do not know what Windows version David is working on. His instructions are very clear, but my results differ. When he goes to his local root folder in the Site Definition window, his is c:\htdocs; mine is c:\xampp. On my system htdocs is a folder underneath xampp. That is the first difference.
When David creates a phptesting folder under c:\htdocs and then selects it, the local root folder in the Site Definition window shows as c:\htdocs\phptesting. When I do the corresponding steps on mysystem, the local root folder in the Site Definition window shows as c:\xampp. If I navigate to c:\xampp\htdocs and build the phptesting folder and select it, the local root folder in the DW Site Definition window shows as c:\xampp\htdocs. For whatever reason, it is not picking up the bottom directory in the selection.
Next, the tutorial creates a php file with nothing in it but <? phpinfo(); ?> and saves it as index.php. Then David views it in 'live view' within DW. He gets a nice phpinfo page. I get a nice HTTP 404 - Not Found error. I get this same result if I set up the new site by going down to c:\xampp\phptesting or c:\xampp\htdocs\phptesting. I also tried this by adding the bottom directory \phptesting by typing it into the local root directory path in the Site Definition window, and then followed the steps to create and save the file and view it in live view. When I do this, I get nothing - no error, no page, nothing.
When I open a browser window and navigate to http://localhost
, I get the nice IIS 7 page asking me to select a language and when I do, instead of getting to mysql admin, I end up at http://www.iis.net
. If I try to go to http://localhost.index.html
, I get that nice HTTP 404 error.
It seems pretty obvious that this is not working as it should, but I'm not sure why or what I can do to fix it. Naturally,since I'm less than knowledgeable about all this, I'm not sure where to begin. I've tried to provide as much detail as I can in the hopes I can get some help.