Avatar billede kbb2 Nybegynder
08. juli 2002 - 13:10 Der er 4 kommentarer og
1 løsning

Install problem with Apache 2.0.39 and PHP 4.2.1 and Win2k

Hi.. I just erased my Apache 2.0.36 and installed the new 2.0.39, but after doing so and after adding:

  LoadModule php4_module c:/php/sapi/php4apache2.dll
  AddType application/x-httpd-php .php

to the httpd.conf file my service won't work!

I went back to 2.0.36 and added the to above lines and it worked perfectly. What else do I need to configure to make it work under 2.0.39??
Avatar billede barlach Nybegynder
08. juli 2002 - 13:26 #1
du kan køre det som cgi med
Action application/x-httpd-php "/php/php.exe"
istedet for at køre det som en service..som stadig ikke er stable.
Avatar billede kbb2 Nybegynder
08. juli 2002 - 13:29 #2
Nej tak. Jeg foretrækker at køre ISAPI versionen. Det skal jo virke!!
Avatar billede sobazz Nybegynder
08. juli 2002 - 13:36 #3
Don't use PHP as CGI in apache. Version 4.2.1 is definetly stable as a module in apache - and it is much faster than the cgi.

If you're using a win32 system, you will need a modified and recompiled version of php4apache2.dll. You can find it here:

http://insodus.servehttp.com/Exosoft/_downloads/php4apache2.dll

If you're using linux or whatever I can only tell you to look at this page:

http://www.php.net/manual/en/install.apache.php
Avatar billede kbb2 Nybegynder
08. juli 2002 - 13:42 #4
Thanks! it works!! You are hero of the day!
Avatar billede sobazz Nybegynder
08. juli 2002 - 13:47 #5
Thank you very much for the points. I spend saturday trying to figure what I had done wrong when configuring apache. But then I read at php.net that it was a general problem, and someone had a fix it.
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
Vi tilbyder markedets bedste kurser inden for webudvikling

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