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
Solved

php on IIS in Server 2012 R2

Posted on 2014-12-16
2
115 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How is this connection happening? 3 20
Is there an elegant way to view sql statements written in PDO? 2 23
Moving from Mcrypt to OpenSSL 18 45
ajax to record click 3 16
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo‚Ķ
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

840 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