---
title: "Hjälp med att konfigurera PHP"
type: "forum-thread"
url: "https://www.webforum.nu/amne/php/15982-hjälp-med-att-konfigurera-php"
topic: "PHP"
topic_url: "https://www.webforum.nu/amne/php"
author: "His Divine Shadow"
published: "2001-08-14T00:31:00.000Z"
updated: "2001-08-14T18:35:00.000Z"
replies: 5
views: 154
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/15982-hjälp-med-att-konfigurera-php"
---

# Hjälp med att konfigurera PHP

## #1 — His Divine Shadow, 2001-08-14T00:31Z

Jag har just installeratPHP men när jag ska starta det har detproblem med att ladda PHP, det hittar inte 'extensions' i PHP.ini filen står det såhär:

; UNIX: "/path1:/path2"  
;include_path=".:/php/includes"
;
; Windows: "\\path1;\\path2"
include_path=".;c:\\php\\includes"

; The root of the PHP pages, used only if nonempty.
doc_root= d:\\inetpub\\wwwroot

; The directory under which PHP opens the script using /\~usernamem used only
; if nonempty.
user_dir=

; Directory in which the loadable extensions (modules) reside.
extension_dir= ./

Det är extension dir som inte funkar gissar jag, vad ska jag skriva?
Jag har prövat med 
./extensions
c:\\php\\extensions
plus mycket mera

Förresten vet nån av några bra PHP tutorials?

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

## #2 — Web-Tor, 2001-08-14T06:09Z

I min php.ini står det 

```
extension_dir = ./
```

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

## #3 — His Divine Shadow, 2001-08-14T06:15Z

Kan dethär ha nått att göra med att min windows mapp och php.ini ligger på D: och php mappen på C:?

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

## #4 — Web-Tor, 2001-08-14T08:19Z

Från php.net:

> You will need to change the 'extension_dir' setting to
>            point to your php-install-dir, or where you have placed
>            your 'php\_\*.dll' files. ex: c:\\php

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

## #5 — His Divine Shadow, 2001-08-14T18:19Z

Jo man tycker ju det, men icke.
Jag använder Apache förresten.
Min PHP.ini fil:

;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"  
;include_path=".:/php/includes"
;
; Windows: "\\path1;\\path2"
;include_path=".;c:\\php\\includes"

; The root of the PHP pages, used only if nonempty.
doc_root=

; The directory under which PHP opens the script using /\~usernamem used only
; if nonempty.
user_dir=

; Directory in which the loadable extensions (modules) reside.
extension_dir=c:\\php

; Whether or not to enable the dl() function.  The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
; disabled on them.
enable_dl=On

Fan om jag fattar nått...

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

## #6 — His Divine Shadow, 2001-08-14T18:35Z

Äh det funkar ju inte alls, Apache startar inte heller, hur fans svårt ska det vara å få igång dethär?
Fan då man inte har tillgång till en 2k server med IIS 5...

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

---

Tråden på webben: https://www.webforum.nu/amne/php/15982-hjälp-med-att-konfigurera-php
