Solved

php Compilation Problem with IIS

Posted on 2002-04-21
6
239 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
[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
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
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…
The viewer will learn how to count occurrences of each item in an array.

730 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