Solved

Configuring IIS 5.0 to read PHP

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MySQL Persistent Connections 10 54
PHP Curl Problem 10 73
How would I break down this array? 3 18
Sending JSON Via POST In PHP 7 26
Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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.

734 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