PHP Problem bei apache

Apache, Lighttpd, nginx, Cherokee
Post Reply
sweetchuck1612
Posts: 17
Joined: 2004-04-01 00:22
 

PHP Problem bei apache

Post by sweetchuck1612 »

Hallo,
Ich weiß, dass das Problem schon oft in ähnlicher Weise hier diskutiert wurde, aber ich habs immer noch nicht zum laufen bekommen.
Wenn ich apache starten möchte taucht folgender Fehler auf:

Syntax error on line 5 of /etc/httpd/confixx_vhost.conf:
Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration

Das ist line 5:
php_admin_flag safe_mode On
php_admin_value safe_mode_exec_dir /home/www/empty

Ich habe ein apache update gemacht und scheinbar ist php weg oder nicht richtig eingebunden.

Kann Jemand helfen ?

Danke
schl
Posts: 343
Joined: 2003-02-05 11:26
Location: München/Unterschleißheim
 

Re: PHP Problem bei apache

Post by schl »

kompiliere das php einfach nochmal (nach dem update)
sweetchuck1612
Posts: 17
Joined: 2004-04-01 00:22
 

Re: PHP Problem bei apache

Post by sweetchuck1612 »

Hab ich gemacht. Bringt scheinbar nichts

Syntax error on line 5 of /etc/httpd/confixx_vhost.conf:
Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration

Noch eine Idee ?
compositiv
Posts: 193
Joined: 2003-01-22 14:58
Location: Hamburg
Contact:
 

Re: PHP Problem bei apache

Post by compositiv »

Sweetchuck1612 wrote:[...]defined by a module not included in the server configuration
Isses denn drin?
sweetchuck1612
Posts: 17
Joined: 2004-04-01 00:22
 

Re: PHP Problem bei apache

Post by sweetchuck1612 »

Du meinst diese Zeile in der httpd.conf:
LoadModule php4_module /usr/lib/apache/libphp4.so
?
Ja ist drin und das modul gibt es auch.
Post Reply