Solved

Configuring IIS 5.0 to read PHP

Posted on 2008-06-11
2
473 Views
Last Modified: 2013-12-13
What I'm trying to do:
Setup a database on my webserver that communicates via PHP.
Where I'm at: I've setup IIS 5.0 on my advanced server 2000 home server.  I've downloaded and installed mysql 5.0.  I've downloaded and installed PHP 5.2.6.

I try to run a test phpinfo() page at the end of my local host, and can't see anything.  I have no idea how to integrate PHP 5.2.6 with IIS 5.0 on my server.  Where do I go from here?  I am so tired of trying to figure this stuff out until 4 am, it's frustrating beyond all belief.  Please help!
0
Comment
Question by:ASC_FULFILLMENT
[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 5

Accepted Solution

by:
mms_master earned 500 total points
ID: 21777956
Hi,

Try this:
--------------------------------
Configure IIS to use PHP
--------------------------------

When you open IIS Manager, it should connect to the local computer automatically.
Expand the local computer in the left pane
Click on "Web Service Extensions" in the left pane
In the right pane, click the blue underlined text, "Add a new Web service extension..."
Enter "PHP ISAPI Extension" as the "Extension name"
Click the "Add..." button and browse to the php5isapi.dll file in your PHP install folder
Check the "Set extension status to Allowed" checkbox and click "OK"

--------------------------------
Add PHP file extention (.php)
--------------------------------

Expand the local computer in the left pane
Right-click on "Web Sites" in the left pane, then click "Properties" in the menu that pops up
Flip to the "Home Directory" tab
Click "Configuration"
Flip to the "Mappings" tab
Click "Add..."
Enter the full path to php5isapi.dll in the "Executable" textbox (Browse... to find it more easily if you need to)
Enter ".php" in the "Extension" textbox
Select radial button "Limit to", enter "GET,POST,HEAD"
Click "OK" all the way out

--------------------------------
Turn on scripting permissions
--------------------------------

Right-click on "Web Sites", goto Properties -> Home Directory.
Change the "Execute permissions" dropdown to "Scripts only".

mms_master
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with mod_substitute 18 37
Ajax and PHP 9 53
Make check boxes work 8 44
blocking the posted data from outside of my domains 8 21
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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.

749 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