Solved

php Compilation Problem with IIS

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
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…
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 …

930 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now