Solved

php on IIS in Server 2012 R2

Posted on 2014-12-16
2
113 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
ID: 40503519
0
 
LVL 27

Assisted Solution

by:Dan McFadden
Dan McFadden earned 250 total points
ID: 40504573
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

816 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