Toon posts:

[PHP/APACHE] paginas worden niet gecompileerd

Pagina: 1
Acties:
  • 46 views sinds 30-01-2008

Verwijderd

Topicstarter
Mij webpaginas worden niet gecompileerd, ik voegde nochtans de volgende regels toe aan mij httpd.conf filetje

code:
1
2
3
4
5
ScriptAlias /php/ "c:/php/"

AddType application/x-httpd-php .php

Action application/x-httpd-php "/php/php.exe"


Wat ben ik vergeten? ik vind het namalijk niet, maar weet wel dat er hier iets fout zit

  • ripexx
  • Registratie: Juli 2002
  • Laatst online: 25-05 22:36

ripexx

bibs

Volgens mij moet je de PHP module ook nog toevoegen aan je apache config maar hoe dat zit bij de W32 versie weet ik niet, standaard gaat het goed bij mij. Maar de help van PHP en apache moeten je toch wel kunnen helpen. :)

buit is binnen sukkel


  • Bosmonster
  • Registratie: Juni 2001
  • Laatst online: 10-05 18:53

Bosmonster

*zucht*

http://nl2.php.net/install.windows

Of even in dat handige bestandje install.txt kijken dat bij je download zit:

code:
1
2
3
4
5
6
7
8
9
10
  After you've set up the file layout properly, you're ready to
  finally configure Apache to load the PHP4 module. Just add the
  following lines to your httpd.conf:

   LoadModule php4_module c:/php/sapi/php4apache.dll
   AddModule mod_php4.c
   AddType application/x-httpd-php .php

  Note: Especially newer versions of Apache do not need the
        AddModule directive anymore, your milage may vary.


Oftewel.. het enige dat je hoeft te doen is dit toevoegen:

code:
1
2
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php

[ Voor 92% gewijzigd door Bosmonster op 26-04-2004 11:40 ]


Verwijderd

Topicstarter
Ok gevonden, dom geweest |:( path vergeten aan te passen

Slotje mag erop

  • .oisyn
  • Registratie: September 2000
  • Laatst online: 15:56

.oisyn

Moderator Devschuur®

Demotivational Speaker

P&W FAQ - Installatie c.q. SA vragen
Dit soort dingen horen gewoon in Software Algemeen hoor, heeft niets met programmeren te maken. Dat je het even weet :)

Give a man a game and he'll have fun for a day. Teach a man to make games and he'll never have fun again.


Dit topic is gesloten.