NetBeans

I’ve mentioned this in another thread. I just got a PHP / MySQL website running on IIS 7. I have no idea what the original consultant used for development besides Notepad++.

I am on Windows 7, PHP 5.4.14, and IIS 7. I just installed NetBeans 7.3.1 and tried to do a simple PHP echo to see if this application is working. I am getting a 404 error.

Any ideas?


HTTP Error 404 - Not Found literally means the file does not exist (or it can’t find it in that location)

Check to make sure the file is in the “C:\inetpub\wwwroot\hello-world\index.php” directory.

Thanks. I didn’t see the directory. I moved my index.php to inetpub\wwwroot and it worked.

I defined my project to run out of my c:\temp\hello-world directory. Any ideas why it wanted to go to C:\inetpub\wwwroot\hello-world?

Is there something I missed when I created my project?

In IIS by default it goes to inetpub/wwwroot.

If you open IIS you can click on your application under default web site and then click on basic settings in the actions pane on the right.

In there you can change to location you want to run your project from.

Sponsor our Newsletter | Privacy Policy | Terms of Service