---
title: "köra php på IIS"
type: "forum-thread"
url: "https://www.webforum.nu/amne/php/55355-köra-php-på-iis"
topic: "PHP"
topic_url: "https://www.webforum.nu/amne/php"
author: "jwradhe"
published: "2002-10-07T17:00:45.000Z"
updated: "2002-10-11T13:07:25.000Z"
replies: 7
views: 434
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/php/55355-köra-php-på-iis"
---

# köra php på IIS

## #1 — jwradhe, 2002-10-07T17:00Z

kan man göra de??

Permalänk: https://www.webforum.nu/p/55355

## #2 — Marcus, 2002-10-07T17:05Z

Självklart, kolla in denna sidan i manualen:
<http://www.php.net/manual/en/install.iis.php>

Permalänk: https://www.webforum.nu/p/812969

## #3 — jwradhe, 2002-10-07T17:12Z

men shit.jag fattar inte hur jag ska göra????kan nån ta det detaljerat¨å lugnt hur jag ska göra-..på svenska?

Permalänk: https://www.webforum.nu/p/812975

## #4 — SirPeter, 2002-10-07T17:17Z

Om det är installationen av php på en iis-server så hittar du en enkel förklaring här:

<http://www.webforum.nu/showthread.php?s=&postid=456517#post456517>

Permalänk: https://www.webforum.nu/p/812980

## #5 — jwradhe, 2002-10-07T18:11Z

hmm.....det står 

```
Security Alert! The PHP CGI cannot be accessed directly. 
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.

For more information as to why this behaviour exists, see the manual page for CGI security.

For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.
```

när jag öppnar en php fil ....varför?

Permalänk: https://www.webforum.nu/p/813045

## #6 — jockelw, 2002-10-10T11:14Z

Smma Problem.

Jag har samma problem som jwradhe har! Får upp texten:

Security Alert! The PHP CGI cannot be accessed directly. 
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.

For more information as to why this behaviour exists, see the manual page for CGI security.

For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.
\----------------------------------------------------------------------------
När ja ska kika på en php fil. någon som vte varför? Ja ha följt installationshjälpen på [phpportalen's](http://www.phpportalen.net/moduler.php?modul=skola&kap=2) sida.

Permalänk: https://www.webforum.nu/p/817774

## #7 — OlleBoop, 2002-10-11T12:01Z

Om det gäller IIS5/Win2000 så installera PHP som ISAPI och inte som cgi, det ger bla betydligt bättre prestanda.

Permalänk: https://www.webforum.nu/p/818599

## #8 — crisse6, 2002-10-11T13:07Z

varfor kor du inte apache?

Permalänk: https://www.webforum.nu/p/818659

---

Tråden på webben: https://www.webforum.nu/amne/php/55355-köra-php-på-iis
