---
title: "Installationen muppar sig"
type: "forum-thread"
url: "https://www.webforum.nu/amne/php/57206-installationen-muppar-sig"
topic: "PHP"
topic_url: "https://www.webforum.nu/amne/php"
author: "casca"
published: "2002-10-27T01:25:27.000Z"
updated: "2002-10-27T15:01:10.000Z"
replies: 6
views: 259
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/57206-installationen-muppar-sig"
---

# Installationen muppar sig

## #1 — casca, 2002-10-27T01:25Z

Finns det någon klassisk noob-grej som orsakar detta? (Försöker ladda en fil med php-ändelse bara)

> Internal Server Error
> The server encountered an internal error or misconfiguration and was unable to complete your request.
> Please contact the server administrator, <reeperbahn@brevet.nu> and inform them of the time the error occurred, and anything you might have done that may have caused the error.
> 
> More information about this error may be available in the server error log.

 Error-loggen gav följande meddelande:

```
[Sun Oct 27 02:21:21 2002] [error] [client 127.0.0.1] Premature end of script headers: c:/php/php.exe
```

Mycket skumt, tidigare har installationen av PHP gått smärtfritt.

(Använder [denna guide](http://www.phpportalen.net/moduler.php?modul=skola&kap=alla) btw.)

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

## #2 — jwradhe, 2002-10-27T10:45Z

av vad jag förstår så försöker du installera php eller???

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

## #3 — cefalk, 2002-10-27T11:10Z

Du har installerat php och försöker köra ett script??? Eller???

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

## #4 — casca, 2002-10-27T12:22Z

Japp, så är det.

Men PHP-filen innehåller ingen PHP, den heter bara index.php.

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

## #5 — cefalk, 2002-10-27T13:27Z

Om du använder apache. Har dyu lagt till nedan i httpd.conf?

ScriptAlias /php/ "C:/php/" 
AddType application/x-httpd-php .php .php3 .phtml 
Action application/x-httpd-php "/php/php.exe"

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

## #6 — casca, 2002-10-27T14:40Z

Ja, det har jag gjort.

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

## #7 — casca, 2002-10-27T15:01Z

Har löst det nu, hittade nån readme och installerade som SAPI-modul istället.

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

---

Tråden på webben: https://www.webforum.nu/amne/php/57206-installationen-muppar-sig
