phpmyadmin will nach der Installation nicht funktionieren

Apache, Lighttpd, nginx, Cherokee
Post Reply
transmitter
Posts: 147
Joined: 2005-01-20 03:07
 

phpmyadmin will nach der Installation nicht funktionieren

Post by transmitter »

Hi

Ich habe per apt-get install phpmyadmin phpMyAdmin installiert.

In der httpd.conf hab ich jetzt das Include /etc/phpmyadmin/apache.conf
vor der vhosts.conf.

Ohne die phpmyadmin/apache.conf geht alles prima, wenn ich sie include bekomme ich beim Start eine Fehlermeldung:
Starting web server: apacheSyntax error on line 2 of /et/phpmyadmin/apache.conf:
Invalid command ´Alias´, perhaps mis-pselled or defined by a module not included in the server configuration
failed
In dieser Zeile steht:

Code: Select all

Alias /phpmyadmin /usr/share/phpmyadmin
.. dann geht es weitermit <DirectoryMatch /usr/shar/phpmyadmin/> usw.
die wurde auotmatisch angelegt.

Das alias Modul wird auch beim Apache Start geladen.

Leider weiß ich nicht weiter, ich habe nach dem Problem gesucht, aber nichts passendes gefunden :(

Kann mir von euch jemand helfen?

Danke schon mal
Bye, Transmitter
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: phpmyadmin will nach der Installation nicht funktionieren

Post by Joe User »

mod_alias geladen?

Code: Select all

Alias /phpmyadmin/ "/usr/share/phpmyadmin/"
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
transmitter
Posts: 147
Joined: 2005-01-20 03:07
 

Re: phpmyadmin will nach der Installation nicht funktionieren

Post by transmitter »

Ja, habe ich ja geschrieben .. ;)
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: phpmyadmin will nach der Installation nicht funktionieren

Post by Joe User »

Oops ;) Poste bitte die phpmyadmin/apache.conf
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
transmitter
Posts: 147
Joined: 2005-01-20 03:07
 

Re: phpmyadmin will nach der Installation nicht funktionieren

Post by transmitter »

Das hier ist sie:

Code: Select all


Alias /phpmyadmin /usr/share/phpmyadmin

<DirectoryMatch /usr/share/phpmyadmin/>
Options +FollowSymLinks
AllowOverride None
order allow,deny
allow from all
<IfModule mod_php3.c>
  php3_magic_quotes_gpc Off
  php3_track_vars On
  php3_include_path .
</IfModule>
<IfModule mod_php4.c>
  php_flag magic_quotes_gpc Off
  php_flag track_vars On
  php_flag register_globals On
  php_value include_path .
</IfModule>
</DirectoryMatch>
Kannst du da was an Fehlern erkennen?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: phpmyadmin will nach der Installation nicht funktionieren

Post by Joe User »

Code: Select all

Alias /phpmyadmin/ "/usr/share/phpmyadmin/"
<Directory "/usr/share/phpmyadmin/">
    Options +FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
    <IfModule mod_php3.c>
        php3_magic_quotes_gpc Off
        php3_track_vars On
        php3_include_path .
    </IfModule>
    <IfModule mod_php4.c>
        php_admin_flag magic_quotes_gpc Off
        php_admin_flag track_vars On
        php_admin_flag register_globals On
        php_admin_value include_path .
    </IfModule>
</DirectoryMatch>
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
transmitter
Posts: 147
Joined: 2005-01-20 03:07
 

Re: phpmyadmin will nach der Installation nicht funktionieren

Post by transmitter »

Leider nein, das Problem bleibt bestehen, ich bekomme die gleiche Fehlermeldung :(
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: phpmyadmin will nach der Installation nicht funktionieren

Post by Roger Wilco »

Wird die phpmyadmin/apache.conf auch wirklich erst verarbeitet, wenn mod_alias bereits geladen ist?
Also das "Include phpmyadmin/apache.conf" sollte nach der LoadModule-Direktive stehen...
transmitter
Posts: 147
Joined: 2005-01-20 03:07
 

Re: phpmyadmin will nach der Installation nicht funktionieren

Post by transmitter »

Tatsächlich .. jetzt funktioniert es :)

Saudämlich der Fehler :-/
Post Reply