Solved

php Compilation Problem with IIS

Posted on 2002-04-21
6
238 Views
Last Modified: 2006-11-17
Hi
I have problem compling php on IIS. I have set my own testing server and placed my php documents in wwwRoot directroy.I have already downloaded the php package required for windows from php.net and i have run the php installer for windows.I am using windows 2000 professional as platform.When i add the localhost/mypage.php at the address bar, it returns complete php document(with full scrip) to the browser and doesnot complie the scripting elements.The browser does not show any message.
php.ini file is in winnt folder.
        Thank you
0
Comment
Question by:ksj786
  • 2
6 Comments
 
LVL 5

Accepted Solution

by:
harwantgrewal earned 50 total points
ID: 6959400
you have also add the isapi mapping for the iis
use the .dll file and in the iis add the mapping I hope you know the mapping of iis by this mapping the iis knows that .php files are executed with this .dll or this .exe

HARRY
0
 
LVL 1

Assisted Solution

by:pmonk
pmonk earned 50 total points
ID: 6970639
Hi ksj786,

I use the SAPI version of PHP - not sure if you need to do these steps but from the sounds of it, you do.

Go into IIS, right-click on your web site and hit "Properties."

Click on the "ISAPI filters" tab.
Click the "Add..." button.
For the filter name type ".php" (without quotes).
For the Executable, browse to the php4isapi.dll file (should be in your winnt/system32 directory).

You'll also need to add PHP to the Application Mappings list:

Click on the Home Directory tab.
Click "Configuration..."
Again, point Executable to the php4isapi.dll file and make the extension ".php".

And that should work.

Peter.
0
 
LVL 1

Expert Comment

by:pmonk
ID: 11662913
Hi Venabili,

From my understanding of harwantgrewal's comment, I explained how to do what he suggested doing (ie, same answer, different levels of detail).

I'm happy to do a split, or I'm happy to take the lot.  :)

Peter.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
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.
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…
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.

828 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