apache + php3 inst.

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

  • apache + php3 inst.

    hallo...

    ich bin blutiger anfänger undversuche nun den apache 1.3.19 mit php3.0.17 auf meinen win95b rechner zu inst. was muss ich alles mit win95b anstellen, dass es funzt?
    was hab ich bisher gemacht?

    apache ist. auf g:\apache mit localhost als servername
    php inst. auf g:\php3
    die php3.ini-dist ins c:\windows als php3.ini kopiert
    die hosts.sam in c:\windows als hosts kopiert
    php.ini => extension_dir = g:\php3
    php.ini => doc_root = g:\apache\htdocs
    zu beginn der httpd.conf diese einträge
    httpd.conf => ScriptAlias /php3/ "g:/php3/"
    httpd.conf => AddType application/x-httpd-php3 .php3
    httpd.conf => AddType application/x-httpd-php3 .phtml
    httpd.conf => Action application/x-httpd-php3 "/php3/php.exe"

    bisher hat es noch nict geklapt php zum laufen zu bringen. apache meldet sich immer mit apache/1.3.17 (win32) running....
    aber nichts von php zu sehen. wie merke ich dass alles geht?
    können sie mir bitte helfen?
    dankeschön.....
    Zuletzt geändert von mcstoxx; 24.07.2010, 08:31.

  • #2
    weiß denn PHP, wo Apache liegt?

    Außerdem hier noch ein Auszug aus PHP-Install-Faq:

    I can't figure out how to build PHP3 with Apache 1.3.
    This is actually quite easy. Follow these steps carefully:

    Grab the latest Apache 1.3 distribution from http://www.apache.org.
    Ungzip and untar it somewhere, for example /usr/local/src/apache-1.3.
    Compile PHP3 by first running ./configure --with-apache=/<path>/apache-1.3 (substitute <path> for the actual path to your apache-1.3 directory.
    Type 'make' followed by 'make install' to build PHP3 and copy the necessary files to the Apache distribution tree.
    Change directories into to your /<path>/apache-1.3/src directory and edit the Configuration file. At the end of the file, add: AddModule modules/php3/libphp3.a.
    Type: './Configure' followed by 'make'.
    You should now have a PHP3-enabled httpd binary!
    Note: You can also use the new Apache ./configure script. See the instructions in the README.configure file which is part of your Apache distribution. Also have a look at the INSTALL file in the PHP distribution.

    naja, wenn's quite easy ist. Vielleicht hilfts ja...

    [Editiert von BrainBug am 27-03-2001 um 13:29]

    Kommentar


    • #3
      Gute Idee BrainBug, aber hast du dir die erste Zeile mal genauer angesehen?:

      undversuche nun den apache 1.3.19 mit php3.0.17 auf meinen win95b rechner zu inst.
      mein Sport: mein Frühstück: meine Arbeit:

      Sämtliche Code-Schnipsel sind im Allgemeinen nicht getestet und werden ohne Gewähr auf Fehlerfreiheit und Korrektheit gepostet.

      Kommentar


      • #4
        Stand auch bißchen weiter oben in dem FAQ-Teil.
        Sorry, falls das nicht weiterhilft.

        Kommentar

        Lädt...
        X