Nach Apache2 + php 4.3 Installation: php_admin_flag error

Apache, Lighttpd, nginx, Cherokee
Post Reply
bendar
Posts: 27
Joined: 2002-07-20 20:21
 

Nach Apache2 + php 4.3 Installation: php_admin_flag error

Post by bendar »

Nach der Installation von Apache 2.0.44 und PHP 4.3.1 geht der confixx vhost Eintrag nicht mehr:

Code: Select all

Fehler beim Starten von Apache : 
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
Woran liegt das und wie kann man das wieder beheben?
pg-computer
Posts: 144
Joined: 2002-09-27 19:28
Location: Drebach / Erzgebirge
Contact:
 

Re: Nach Apache2 + php 4.3 Installation: php_admin_flag error

Post by pg-computer »

Hoi Hoi,

sieht so aus als würde kein PHP Modul geladen werden, such mal in deiner Apache PHP Konfig, ob mod_php bzw. libphp4.so oder wie das da hieß geladen wird! ;)

bei LoadModul bzw. AddModul...
bendar
Posts: 27
Joined: 2002-07-20 20:21
 

Re: Nach Apache2 + php 4.3 Installation: php_admin_flag error

Post by bendar »

ne, wird nirgends erwähnt.
Was soll ich denn nun genau reinschreiben?
flofri
Posts: 67
Joined: 2003-03-28 09:24
Contact:
 

Re: Nach Apache2 + php 4.3 Installation: php_admin_flag error

Post by flofri »

Also, das problem mit dem php hab ich jetzt gelöst (Arbeite mit Bendar zusammen am Server) aber jetzt kommt ne meldung von wegen:

Syntax error on line 46 of /etc/httpd/confixx_vhost.conf:
User cannot occur within <VirtualHost> section

Habe gelesen, das man da irgendwie was mit suExec benötigt. Habe aber nirgends ne ganaue Anleitung gefunden, wie man das Installiert und einrichtet.

Erbitte Hilfe :)

MfG
FloFri
pg-computer
Posts: 144
Joined: 2002-09-27 19:28
Location: Drebach / Erzgebirge
Contact:
 

Re: Nach Apache2 + php 4.3 Installation: php_admin_flag error

Post by pg-computer »

Hoi Hoi,

sieht aus als wäre mod-vhost nicht mit drauf, bei den Modulen einfach vhost-alias mit angeben... suEXEC wäre nicht schlecht...

folgendermaßen nachschauen
./configure --help
flofri
Posts: 67
Joined: 2003-03-28 09:24
Contact:
 

Re: Nach Apache2 + php 4.3 Installation: php_admin_flag error

Post by flofri »

so, das mit user habe ich durch das suexec-modul behoben. (habe zwar die gesammte confixx_vhost überarbeiten müssen, aber jetzt stertet er)

Der httpd läuft jetzt zwar, aber gibt beim start massig Meldungen von wegen:

VirtualHost 217.160.129.50:110 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results

aus. vhost_alias ist auch drauf.

Woran kann das liegen?

MfG
FloFri
Post Reply