I have Apache, PHP and MySQL installed and running. My issue is that I can't figure out how to use them to test my php files. I end up uploading them and testing them from the webserver. One trick is that I have three HDD's. My C: drive is holds all my programs, my F: drive holds my work files, including web files, (both of these drives are SCSI) and my big drive is an IDE that has Apache, PHP and MySQL installed on it.

So how do I set up the testing server in DW to make use of all that?

Thanks!

    I'm not sure what this has to do with DW or the number of discs on your machine!

    But if you have everything installed correctly you simply need to place your php files in the htdocs folder (created when you install Apache) and open them from the browser using the localhost address.

    Like 127.0.0.1/filename.php.

      Well, I am not sure either! I keep thinking that having the server install on the G: drive may be giving me problems, while the actual files I want to preview are on the F: drive. As far as DW goes, that is where I am trying to test the files from using the "preview in browser" button. To get it to work, I think I need to set it up properly and I apparently have not.

      I always get error message that the file can not be found, or I don't have permision to view this file. Those are the two most common errors I get.

      I have use a package called "Easy PHP" to install Apache, PHP and MySQL. I was mistaken about which drive I installed it to. I did put it on the F: drive which is where my files reside, but in different directories.

      This really has me confused. Thanks for your help.

        Ok I don't use DW but if you take a look here you will find how to set up an alias so that the folder you use for developement can be accessed by Apache, it also tells you how to set up DW to work with it as well.

          Write a Reply...