Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

php on IIS in Server 2012 R2

Posted on 2014-12-16
2
Medium Priority
?
134 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 1000 total points
ID: 40503519
0
 
LVL 29

Assisted Solution

by:Dan McFadden
Dan McFadden earned 1000 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
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 count occurrences of each item in an array.
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…
Suggested Courses

609 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