Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7873455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:31:12+00:00 2026-06-03T02:31:12+00:00

I am trying to set up a PHP server on my localhost to run

  • 0

I am trying to set up a PHP server on my localhost to run with the Eclipse PDT.
I want to be able to view the PHP site I am developing on something like http://localhost/MySite/index.php so that I can Run it straight from Eclipse.

I am using IIS 7.5 (windows 7 home premium) for the PHP server.

So far I have followed these instructions, but have not been able to get it to work:

  • Install CGI option in Windows Features
  • Install IIS Manager in Windows Features (so I can run inetmgr.exe)
  • Download the NTS-version of php and extract the zip to C:/php
  • Rename php.ini-development to php.ini and set the extension_dir variable
  • Run inetmgr and create a new website to run PHP applications (I removed the DefaultSite):
    • Site Name: My Site
    • Physical Directory C:/dev/MySite
    • Application Pool: DefaultAppPool
    • Bindings:
      • Host:
      • IP Address: All Unasigned
      • Port: 80
  • In inetmgr: Click on handler mappings and add a new Module Mapping:
    • Request Path: *.php
    • Module: FastCGIModule
    • Executable: C:/php/php-cgi.exe

Now I have many problems:

  1. In IIS Manager, when I click Edit Site > Test Settings, there is a yellow exclamation-mark warning: Authorization: Cannot verify access to path (C:/dev/MySite):

    The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that \$ has Read access to the physical path. Then test these settings again.

  2. When I try to load any .php file directly from the webroot (C:/dev/MySite) it displays as plain-text in my web browser

  3. When I try to Run my project in Eclipse, it goes to http://localhost/MySite/index.php and there is a 404 Error: Website Not Found

  4. When I go to http://localhost/ in my web browser, I also get a 404 Error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T02:31:14+00:00Added an answer on June 3, 2026 at 2:31 am

    I’m afraid I don’t have an answer to you’re question, but I wanted to share…

    I never was a fan of running PHP on IIS or Apache. So I built a portable, no-install-required copy of nginx that I could move around with me or use on my Windows machines. (Just download the flavors of PHP, Nginx, and MySQL you want and start it). One of the reasons is that most production sites run nginx anyway, so this way I’m closer to what my server actually uses (unless you are on “shared-hosting” which still uses the Apache).

    Second, I’m not sure why you need to “run” it from Eclipse. When you write PHP you usually are dealing with a lot of variables to get pages setup. I would say you need to worry more about adding Unit Tests to make sure things work right, and using a browser like Firefox (with firebug) for testing any requests you might be making. Things like AJAX, or dealing with session cookies often require more control than what Eclipse can give you.

    Bottom line, I’m not sure why you think you need to do this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to learn about php's arrays today. I have a set of arrays like
I am trying to set up a PHP members area on my web server,
I am trying to set up a PHP path to my Zend Framework. I
I'm trying to set up some exotic PHP code (I'm not an expert), and
I'm trying to set up a batch file to automatically deploy a php app
I'm trying to develop a Facebook app on Heroku with PHP. I set up
I'm currently trying to create a PHP Thrift server which will be accessed by
I'm trying to set up a local environment for developing and testing an existing
I'm trying to set up XDebug for PHP. I edited some settings in my
I'm trying to set up authentication on my server, however, I know little about

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.