Problem mit PHP unter Apache

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Problem mit PHP unter Apache

    Hallo,
    habe mir Apache,Mysql,PHP unter Win Me installiert, damit ich meine Entwicklung auch offline machen/testen kann. Leider funktioniert noch nicht so.

    Installation Apache unter C:/Programme/Apache Group/Apache ...

    Installation PHP unter: c:/php/php-4.1.2-Win32/ ....

    Die php.ini habe ich entwas angepaßt und unter C:\windows abgelegt
    Die php4ts.dll liegt unter windows/system


    Wenn ich den Apache starte, dann kommt das Dos Fenster mit:
    Apache/1.3.24 (Win32) PHP/4.1.3-dev running...

    Wenn ich im Browser
    http://localhost öffne

    kommt Seite mit "Es klappt!Der Apache Webserver ist (..) installiert"

    Wenn ich ABER:
    zb eine PHP-Datei aufrufe, wie zb das script zu phpinfo
    http://localhost/phpinfo.php
    dann wird das script NICHT ausgeführt sondern es wird mir ein download angeboten!

    Was mache ich falsch?
    Wer kann mir helfen?

    Habe mal die httpd.conf und php.ini angehängt,
    -----------------------------------------------------------------
    Meine Einträge habe ich mit Ober- und Unterlinie kenntlich geacht!
    -----------------------------------------------------------------


    Wäre sehr dankbar, wenn mir jemand helfen könnte. Komme echt nicht weiter!


    Gruß Quixxz
    Angehängte Dateien

  • #2
    Action application/x-httpd-php /php-4.1.2-Win32/php.exe
    die Zeile sollte heissen:
    Action application/x-httpd-php /php/php.exe
    Beantworte nie Threads mit mehr als 15 followups...
    Real programmers confuse Halloween and Christmas because OCT 31 = DEC 25

    Kommentar


    • #3
      hat leider nicht gebracht, hmm

      Kommentar


      • #4
        Nimm mal das load module php dingsbums raus...
        Beantworte nie Threads mit mehr als 15 followups...
        Real programmers confuse Halloween and Christmas because OCT 31 = DEC 25

        Kommentar


        • #5
          wenn ich das rausnehem, dann zeigt apache beim starten unter dos:
          Apache/1.3.24 (Win32) running...

          statt:
          Apache/1.3.24 (Win32) PHP/4.1.3-dev running...


          beim aufruf von http://localhost/phpinfo.php wird das script auch nicht ausgeführt.

          so ein mist!!!

          Kommentar


          • #6
            Man, ich bin sooooo blöd!

            War n Tipfehler!!!!

            bei mir stand

            AddType application/x-http-php

            und es heißt

            AddType application/x-httpd-php


            jetzt läufts!!!!!

            Gruß

            Quixxz

            Kommentar

            Lädt...
            X