Avatar billede benzon Praktikant
13. april 2001 - 15:18 Der er 4 kommentarer og
1 løsning

HJÆLP HJÆLP PROBLEM MED SERVER OPSÆTNING

Jeg skal have php til at virke på en iis 4.0 hvordan gør jeg det, jeg kan fint på en version 5.0 men jeg får en cgi fejl når jeg prøver, på 4.0 den der kan hjælpe mig får 200 Points for det er Vigtigt ......
Avatar billede blood Nybegynder
13. april 2001 - 15:23 #1
Installation Notes for IIS 4.0 and 5.0
--------------------------------------

- Install the DLLs as mentioned above.
- If you wish to change any defaults, copy either the php.ini-dist or
  php.ini-optimized files into your Windows directory, and rename it to
  \'php.ini\'.  You can then modify any of the directives inside it.
- Start the Microsoft Management Console (may appear as
  \'Internet Services Manager\', either in your Windows NT 4.0 Option Pack
  branch or the Control Panel->Administrative Tools under Windows 2000).
- Right click on your Web server node (will most probably appear as \'Default
  Web Server\'), and select \'Properties\'.
- If you don\'t want to perform HTTP Authentication using PHP, you can (and
  should) skip this step.  Under \'ISAPI Filters\', add a new ISAPI filter.
  Use \'PHP\' as the filter name, and supply a path to the php4isapi.dll that
  is included in the distribution.
- Under \'Home Directory\', click on the \'Configuration\' button.  Add a new
  entry to the Application Mappings;  Use the path the php4isapi.dll as the
  Executable, supply .php as the extension, leave \'Method exclusions\', blank,
  and check the Script engine checkbox.
- Stop IIS completely (you would have to stop the IIS Administration service
  for that - stopping it through the Management Console isn\'t good enough;
  You can do it by typing \'net stop iisadmin\' on a command prompt).
- Start IIS again (you can do it by typing \'net start w3svc\' on a command
  prompt).
- Put a .php file under your Web server\'s document root and check if it works!



IIS 4.0+ (isapi):
1. Copy the php.ini-dist to your systemroot (the directory where you installed windows), rename it to php.ini, and
edit it to fit your needs
2. Start the Microsoft Management Console or the Internet Services Manager, located in your Control Panel
3. Click on your webserver, and select properties
4. If you don\'t want to perform HTTP Authentication using PHP, you can (and should) skip this step. Under ISAPI Filters,
add a new ISAPI filter. Use PHP as the filter name, and supply a path to the php4isapi.dll
5. Under Home Directory, click on the Configuration button. Add a new entry to the Application Mappings. Use the path the
php4isapi.dll as the Executable, supply .php as the extension, leave Method exclusions, blank, and check the Script engine
checkbox
6. Stop IIS completely
7. Start IIS again


IIS 4.0+ (CGI)
1. Copy the php.ini-dist to your systemroot (the directory where you installed windows), rename it to php.ini, and
edit it to fit your needs
2. Start the Microsoft Management Console (may appear as \'Internet Services Manager\', either in your Windows NT 4.0
Option Pack branch or the Control Panel->Administrative Tools under Windows 2000).
3. Right click on your Web server node (will most probably appear as \'Default Web Server\'), and select \'Properties\'.
4. Under \'Home Directory\', click on the \'Configuration\' button. Add a new
5. entry to the Application Mappings; Use the path to php.exe as the Executable, supply .php as the extension, leave
\'Method exclusions\', blank, and check the Script engine checkbox.
6. Put a .php file under your Web server\'s document root and check if it works!
Avatar billede benzon Praktikant
13. april 2001 - 15:34 #2
www.zon.dk prøv at se fejlen der jeg har prøvet de metoder du skriver der men det ser ikke ud til at virke HJÆLP
Avatar billede blood Nybegynder
13. april 2001 - 16:17 #3
Jeg får ikke nogle fejl på den side!

Jeg får bare phpinfo
Avatar billede benzon Praktikant
13. april 2001 - 16:48 #4
Jeg fik det op at køre men ku på min egen site ÆV men det er bedre end ingen ting til han opgradere den til 5.0 så skulle det hele funke *S*
Avatar billede benzon Praktikant
13. april 2001 - 16:49 #5
Og fik det til at virke efter 3:30 min *S*
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