Solved

php on IIS in Server 2012 R2

Posted on 2014-12-16
2
110 Views
Last Modified: 2014-12-17
We are moving a client from their existing web hosting to their own server.  I spun up a Server 2012 R2 server and installed IIS.  I published a test web site there and everything is fine.

Now I have received the content from the old hosting provider and I see it is php.

I uploaded the content and tried to hit index.php and I'm getting a 500 error telling me that there is a problem with the resource I am trying to reach.

How can I get this uploaded php content to run on my IIS server in 2012 R2?

I did download the Web Platform installer and installed php, but that didn't make a difference.

Any help would be appreciated.

Thank

Cliff
0
Comment
Question by:crp0499
2 Comments
 
LVL 4

Accepted Solution

by:
hulsebosch earned 250 total points
Comment Utility
0
 
LVL 26

Assisted Solution

by:Dan McFadden
Dan McFadden earned 250 total points
Comment Utility
Essentially there are a steps to getting PHP to run on Windows:

1. Install FastCGI in IIS
2. Install PHP
3. Verify install
4. Configure PHP
5. Enable site to use PHP

Reference link from MS:  http://technet.microsoft.com/en-us/library/hh994592.aspx

Dan
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now