Avatar billede baitianlong Nybegynder
23. marts 2004 - 16:26 Der er 6 kommentarer og
1 løsning

Min server gider ikke køre php

Jeg har en win2003 server med IIS, og jeg har installeret php på den, men det virker ikke. Jeg har tidligere brugt den samme php pakke på en windows 2000 og en windows xp workstation, og der virkede det fint. Man skal lægge nogen filer i windows/winnt og system32 og den slags når man installerer det... Er der nogen ideer
Avatar billede guidmaster Nybegynder
23. marts 2004 - 16:42 #1
1) Download latest version of PHP from www.php.net
2) Unzip contents to c:\php\
3) Copy all files from c:\php\dlls\ to c:\windows\system32\
4) Copy all files from c:\php\sapi\ to c:\windows\system32\
5) Copy c:\php\php.ini to c:\windows\php.ini

6) Open IIS, and add a "Web Service Extension"
7) Call the extension "PHP"
8) set the path as c:\windows\system32\php4isapi.dll
9) set the status to "allow"
10) Right click the "Web Sites" folder, and select properties
11) On the "Home Directory" tab, select "Configuration"
12) Click "Add", then browse to c:\windows\system32\php4isapi.dll, set the extension as .php, and deselect "Verify that the file exists".
13) Click Okay
14) Apply the setting to all sites.
15) Restart IIS
Avatar billede guidmaster Nybegynder
23. marts 2004 - 16:57 #2
Ups - skulle vist have været:
1) Download latest version of PHP from www.php.net
2) Unzip contents to c:\php\
3) Copy all files from c:\php\dlls\ to c:\windows\system32\
4) Copy all files from c:\php\sapi\ to c:\windows\system32\

4A) Copy php4ts.dll (located in the c:\PHP directory) to your c:\windows\system32 directory
5)Rename and Copy c:\php\php.ini-recommended to c:\windows\php.ini

6) Open IIS, and add a "Web Service Extension"
7) Call the extension "PHP"
8) set the path as c:\windows\system32\php4isapi.dll
9) set the status to "allow"
10) Right click the "Web Sites" folder, and select properties
11) On the "Home Directory" tab, select "Configuration"
12) Click "Add", then browse to c:\windows\system32\php4isapi.dll, set the extension as .php, and deselect "Verify that the file exists".
13) Click Okay
14) Apply the setting to all sites.
15) Restart IIS
Avatar billede baitianlong Nybegynder
23. marts 2004 - 17:13 #3
hvad er en tar.gz fil ??? hvordan åbner jeg den ?
Avatar billede baitianlong Nybegynder
23. marts 2004 - 17:18 #4
nårh.. ok, min Winrar kunne åbne den :)
Avatar billede inglenook Praktikant
23. marts 2004 - 17:19 #5
Du skal downloade zip filerne for Windows.
tar.gz er for Linux.
Avatar billede jesper2003 Nybegynder
24. marts 2004 - 22:16 #6
Avatar billede baitianlong Nybegynder
25. marts 2004 - 15:28 #7
Det virker nu :) tusind tak...
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester