application/x-httpd-php nach froxlor installation

Dieses Thema im Forum "Linux & BSD" wurde erstellt von Die_Quelle, 14. April 2012 .

Schlagworte:
Status des Themas:
Es sind keine weiteren Antworten möglich.
  1. 14. April 2012
    Hallo Leute,

    habe von einem Kumpel einen root bekommen auf dem ich froxlor installieren möchte.
    Habe per Anleitung es mit apt-get installiert soweit so gut.
    Alle Dienste laufen.

    Gehe ich nun auf Meinedomain/froxlor oder MeineIp/froxlor bekomme ich einen Download geöffnet:

    application/x-httpd-php

    hm....?(

    Ich hab im froxlor Forum was von FQDN gelesen und dieses folglich eingerichtet mit


    IP admin.domain.tld admin

    hostname neugestartet bringt auch nichts.

    Habe auch den apache2 dienst mehrmals neugestartet + firefox cache gelöscht.

    Wo liegt das Problem :angry:

    Würde mich über jeglich Hilfe bedanken!
     
  2. 14. April 2012
    AW: application/x-httpd-php nach froxlor installation

    Ist PHP und Co richtig installiert und eingerichtet? Sieht fast so aus als ob dein Apache die PHP nicht erkennt (mod_php nicht aktiviert?)
     
  3. 15. April 2012
    AW: application/x-httpd-php nach froxlor installation

    Debian 6?
    Einfach a2enmod php5 und mal den apache restarten
     
  4. 15. April 2012
    AW: application/x-httpd-php nach froxlor installation


    btw. was hattn das a2enmod script mit debian 6 zu tun?
     
  5. 15. April 2012
    AW: application/x-httpd-php nach froxlor installation

    falls php nachträglich installiert wurde und der apache2 durch den trigger von apt nicht "reloaded" wurde, wäre es möglich, dass die konfiguration zwar stimmt und das modul vorliegt, aber jenes eben noch nicht geladen wurde. daher evtl a2enmod
     
  6. 15. April 2012
    AW: application/x-httpd-php nach froxlor installation

    Ich hatte es bei zwei debian 6 Systemen, dass ich nach der Installation das selbe "Problem" hatte und dieses nach einem Apache Neustart "behoben" war. Ich habe beim ersten überfliegen nicht gelesen, dass er den Apache schon mehrfach neugestartet hat.
     
  7. 15. April 2012
    AW: application/x-httpd-php nach froxlor installation

    Unten steht eine Liste der geladenen und möglichen a2enmods.

    Das Problem besteht auch nach einenm kompletten Server neustart.

    Spoiler
    root@XXXXX:~# a2enmod
    Your choices are: actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd auth n_dbm authn_default authn_file authnz_ldap authz_dbm authz_default authz_groupfile authz_host aut hz_owner authz_user autoindex cache cern_meta cgi cgid charset_lite dav dav_fs dav_lock dbd defla te dir disk_cache dump_io env expires ext_filter file_cache filter headers ident imagemap include info ldap log_forensic mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer prox y_connect proxy_ftp proxy_http proxy_scgi reqtimeout rewrite setenvif speling ssl status substitu te suexec unique_id userdir usertrack version vhost_alias
    Which module(s) do you want to enable (wildcards ok)?
    ^C
    root@XXXXX:~# ls -l /etc/apache2/mods-enabled/
    insgesamt 0
    lrwxrwxrwx 1 root root 28 14. Apr 21:38 alias.conf -> ../mods-available/alias.conf
    lrwxrwxrwx 1 root root 28 14. Apr 21:38 alias.load -> ../mods-available/alias.load
    lrwxrwxrwx 1 root root 33 14. Apr 21:38 auth_basic.load -> ../mods-available/auth_basic.load
    lrwxrwxrwx 1 root root 33 14. Apr 21:38 authn_file.load -> ../mods-available/authn_file.load
    lrwxrwxrwx 1 root root 36 14. Apr 21:38 authz_default.load -> ../mods-available/authz_default.load
    lrwxrwxrwx 1 root root 38 14. Apr 21:38 authz_groupfile.load -> ../mods-available/authz_groupfile.load
    lrwxrwxrwx 1 root root 33 14. Apr 21:38 authz_host.load -> ../mods-available/authz_host.load
    lrwxrwxrwx 1 root root 33 14. Apr 21:38 authz_user.load -> ../mods-available/authz_user.load
    lrwxrwxrwx 1 root root 32 14. Apr 21:38 autoindex.conf -> ../mods-available/autoindex.conf
    lrwxrwxrwx 1 root root 32 14. Apr 21:38 autoindex.load -> ../mods-available/autoindex.load
    lrwxrwxrwx 1 root root 27 14. Apr 21:38 cgid.conf -> ../mods-available/cgid.conf
    lrwxrwxrwx 1 root root 27 14. Apr 21:38 cgid.load -> ../mods-available/cgid.load
    lrwxrwxrwx 1 root root 30 14. Apr 21:38 deflate.conf -> ../mods-available/deflate.conf
    lrwxrwxrwx 1 root root 30 14. Apr 21:38 deflate.load -> ../mods-available/deflate.load
    lrwxrwxrwx 1 root root 26 14. Apr 21:38 dir.conf -> ../mods-available/dir.conf
    lrwxrwxrwx 1 root root 26 14. Apr 21:38 dir.load -> ../mods-available/dir.load
    lrwxrwxrwx 1 root root 26 14. Apr 21:38 env.load -> ../mods-available/env.load
    lrwxrwxrwx 1 root root 27 14. Apr 21:38 mime.conf -> ../mods-available/mime.conf
    lrwxrwxrwx 1 root root 27 14. Apr 21:38 mime.load -> ../mods-available/mime.load
    lrwxrwxrwx 1 root root 34 14. Apr 21:38 negotiation.conf -> ../mods-available/negotiation.conf
    lrwxrwxrwx 1 root root 34 14. Apr 21:38 negotiation.load -> ../mods-available/negotiation.load
    lrwxrwxrwx 1 root root 33 14. Apr 21:38 reqtimeout.conf -> ../mods-available/reqtimeout.conf
    lrwxrwxrwx 1 root root 33 14. Apr 21:38 reqtimeout.load -> ../mods-available/reqtimeout.load
    lrwxrwxrwx 1 root root 31 14. Apr 21:38 setenvif.conf -> ../mods-available/setenvif.conf
    lrwxrwxrwx 1 root root 31 14. Apr 21:38 setenvif.load -> ../mods-available/setenvif.load
    lrwxrwxrwx 1 root root 29 14. Apr 21:38 status.conf -> ../mods-available/status.conf
    lrwxrwxrwx 1 root root 29 14. Apr 21:38 status.load -> ../mods-available/status.load

    ?(
     
  8. 15. April 2012
    AW: application/x-httpd-php nach froxlor installation

    wie ichs mir gedacht habe. PHP ist nicht geladen. Ist das überhaupt richtig installiert?
     
  9. 15. April 2012
    AW: application/x-httpd-php nach froxlor installation

    Habe bisher noch nie an einem nicht automatisch installierten Webservers gesessen.

    Als ich froxlor installieren wollte hat er mich gefragt ob ich php mysql etc. installieren will per apt-get -f install

    Habe ich gemacht und deswegen bin ich davon ausgegangen das es installiert ist.

    via php-v

    Code:
    PHP 5.3.3-7+squeeze8 with Suhosin-Patch (cli) (built: Feb 10 2012 13:05:56)
    
    ist also installiert.

    Wie lade ich alle nötigen Dienste neu?
     
  10. 15. April 2012
    AW: application/x-httpd-php nach froxlor installation

    nur der apache.

    libapache2-mod-php5 installiert?
    das paket php5 zu installiern reicht nicht
     
  11. 15. April 2012
    AW: application/x-httpd-php nach froxlor installation



    Danke euch allen, das war das Problem!

    BWs sind an alle raus =)

    /close
     
  12. Video Script

    Videos zum Themenbereich

    * gefundene Videos auf YouTube, anhand der Überschrift.