Solved

php on IIS in Server 2012 R2

Posted on 2014-12-16
2
117 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
hulsebosch earned 250 total points
ID: 40503519
0
 
LVL 28

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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…

717 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