Solved

Configuring IIS 5.0 to read PHP

Posted on 2008-06-11
2
476 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

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

Question has a verified solution.

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

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…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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.

623 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