[SlackWare] PHP configureren in apache

Pagina: 1
Acties:

  • FireWire
  • Registratie: November 2000
  • Niet online

FireWire

I taste like chicken...

Topicstarter
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-https-php .php
AddType application/x-https-php-source .phps

Die staan in me httpd.conf

maar dan krijg ik de error

root@win3K:/usr/local/apache/bin# ./httpd
Syntax error on line 63 of /usr/local/apache/conf/httpd.conf:
Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration

en * FireWire is nogal n00b :'(

Ik hoop dat iemand me kan helpen :)

\__________________________________Niet verwarren met IEEE 1394__________________________________/


Verwijderd

Probeer eens van die LoadModule php4_module libexec/libphp4.so te maken:
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
(waarbij dat path natuurlijk anders kan zijn)

Verder moet volgens mij dat x-https-php ook x-httpd-php zijn en niet https, maar dat weet ik niet zeker ;)

  • Niek
  • Registratie: Februari 2001
  • Laatst online: 14-07 11:42

Niek

f.k.a. The_Surfer

Volgens mij moet de het hele path naar het bestand opgeven (zo is het iig bij mij).
Probeer eens locate libphp4.so en vervang libexec/libphp4.so door deze regel.

edit: net iets te laat ;)

À vaincre sans péril, on triomphe sans gloire - Pierre Corneille


Verwijderd

code:
1
2
3
4
5
root@anaina: /usr/local/apache/bin
$ ./httpd -l
Compiled-in modules:
  http_core.c
  mod_so.c

Weet je zeker dat je Apache met mod_so hebt gecompiled?