Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Configuring IIS 5.0 to read PHP

Posted on 2008-06-11
2
Medium Priority
?
484 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
2 Comments
 
LVL 5

Accepted Solution

by:
mms_master earned 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

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
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

926 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