Apache 2 + PHP5

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

  • Apache 2 + PHP5

    HI ich möchte gernen mein Webserver auf PHP5 umstellen ich nutze
    zZ Xampp mit PHP4.

    Kann mir einer sagen wie ich das machen muss das PHP 5 läuft?

  • #2
    Apache/2.0.49 (Win32) mod_autoindex/color mod_ssl/2.0.49 OpenSSL/0.9.7d PHP/4.3.6 Server at localhost Port 80

    So sieht im Moment mein Server aus was ist aber color mod_ssl?

    Kommentar


    • #3
      Hat keiner Ne AHnung wie ich das machen muss Probier das schon die ganze Zeit.

      Immer wenn ich fertig bin startet apache 2 icht mehr.

      Kommentar


      • #4
        Original geschrieben von MajorW
        Immer wenn ich fertig bin startet apache 2 icht mehr.
        dann bist Du wohl nicht fertig Wirf einen Blick in die Error Logs
        h.a.n.d.
        Schmalle

        http://impressed.by
        http://blog.schmalenberger.it



        Wichtige Anmerkung: Ich habe keine Probleme mit Alkohol ...
        ... nur ohne :-)

        Kommentar


        • #5
          In Error log ist nichts drin aber ich hab die Konsolen fehler meldung :

          Syntax error on line 1000 of ........http.conf:
          Cant locate API module strukture php4_modul in file ........apache/bin/php5apche2.dll: No error

          So steht es in der Console die Zeile 100 ist die

          LoadModule php4_module "D:/Server/xampp/apache/bin/php5apache2.dll"


          Laso ich weiß nicht weiter

          Kommentar


          • #6
            LoadModule php4_module "D:/Server/xampp/apache/bin/php5apache2.dll"

            hab daraus:

            LoadModule php5_module "D:/Server/xampp/apache/bin/php5apache2.dll"

            Das gemacht der Fehler wäre weg jetzt kommen aber immer fehler meldungen die dll oder ini's in dem extension verzeichnis suchen

            PHP Warning: Cannot open 'D:\\Server\\xampp\\php\\browscap\\browscap.ini' for reading in Unknown on line 0
            PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\Server\\xampp\\php\\extensions\\php_curl.dll' - Das angegebene Modul wurde nicht gefunden.\r\n in Unknown on line 0
            PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\Server\\xampp\\php\\extensions\\php_gd2.dll' - Das angegebene Modul wurde nicht gefunden.\r\n in Unknown on line 0
            PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\Server\\xampp\\php\\extensions\\php_ming.dll' - Das angegebene Modul wurde nicht gefunden.\r\n in Unknown on line 0
            PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\Server\\xampp\\php\\extensions\\php_openssl.dll' - Das angegebene Modul wurde nicht gefunden.\r\n in Unknown on line 0
            PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\Server\\xampp\\php\\extensions\\php_pdf.dll' - Das angegebene Modul wurde nicht gefunden.\r\n in Unknown on line 0
            PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\Server\\xampp\\php\\extensions\\php_sqlite.dll' - Das angegebene Modul wurde nicht gefunden.\r\n in Unknown on line 0
            PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\Server\\xampp\\php\\extensions\\php_xslt.dll' - Das angegebene Modul wurde nicht gefunden.\r\n in Unknown on line 0
            PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\Server\\xampp\\php\\extensions\\php_zip.dll' - Das angegebene Modul wurde nicht gefunden.\r\n in Unknown on line 0


            Diese Hier wo muss ich das denn noch einstellen?

            Kommentar


            • #7
              Die alten Dateien gehen auch nicht

              Was kann ich denn noch machen?

              Kommentar


              • #8
                Apache/2.0.49 (Win32) mod_autoindex/color mod_ssl/2.0.49 OpenSSL/0.9.7d PHP/5.0.0RC2 Server at localhost Port 80

                Das sagt er laut Test hab denn alten extensions ... in denn PHP5 ordner gepackt aber bei start bekomme ich solche Fehler:

                PHP Warning: PHP Startup: ,\xb1:\x01\xe0\x1b9\x01: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=1\nPHP compiled with module API=20040412, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
                PHP Warning: PHP Startup: \xa8Ya\x01\xb0\x12Y\x01: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=1\nPHP compiled with module API=20040412, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
                PHP Warning: PHP Startup: \xd8\xf9Z\x01: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=1\nPHP compiled with module API=20040412, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
                PHP Warning: PHP Startup: \xcc\x84Y\x010DY\x01: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=1\nPHP compiled with module API=20040412, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
                PHP Warning: PHP Startup: t\xed_\x01: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=1\nPHP compiled with module API=20040412, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
                PHP Warning: PHP Startup: <g\\\x01: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=1\nPHP compiled with module API=20040412, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
                PHP Warning: PHP Startup: \x98bY\x01: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=1\nPHP compiled with module API=20040412, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
                PHP Warning: PHP Startup: \x88qY\x01\xc0\x10Y\x01: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=1\nPHP compiled with module API=20040412, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0


                sry für die anderen Theards ich hoffe jmd weiß rat


                edit:

                PHP5 steht da zwar aber er gibt keine php codes mehr aus

                Kommentar


                • #9
                  hi MajorW
                  und haste das hin bekommen?
                  Scheint niemand dir geholfen zu haben.
                  Ich habe das gleiche Problem mit den Extension .dll, sie werden bei mir auch nicht geladen.
                  weist du einen Rat.

                  Gruß
                  miirojan

                  Kommentar


                  • #10
                    Habe jetzt auch das Problem, dass er einige Extensions nicht laden kann (unter anderem auch das MySQL Modul) - mit PHP 5.0.0, Apache 2.0.48, PHP als SAPI Modul, Windows XP

                    Das Komische ist, dass er z. b. das Modul php_curl.dll erfolgreich läd - das angegebene Extension Verzeichnis ist also auch korrekt (wenn ich testweise ein falsches in der php.ini eintrage, bekomme ich auch beim php_curl.dll eine Fehlermeldung).

                    Die alten DLLs der 4.x Version kann man ja vergessen - die funktionieren logischer Weise unter PHP5 nicht.

                    Weiss jemand Rat?

                    redouble

                    --------------------------------------

                    Update:

                    Habe die Lösung gefunden: es waren schlicht nicht die für Windows compilierten dlls oder tatsächlich hatten sie gefehlt. Es gibt ein extra Package Download bei php.net das die vorkompilierten dlls für Windows enthält: Collection of PECL modules for PHP 5.0.0 [932Kb] - 13 Jul 2004
                    Einzeln kann man die dlls auch hier herunterladen.
                    Damit die mysql Extension funktionierte, musste ich noch die libmysql.dll ins Windows/System32 kopieren (ist bei der PHP-Distribution im Root dabei).

                    Die einzigste Extension, die ich noch nicht zum laufen bekommen habe, ist die für exif ... also php_exif.dll ... die ist bei der php5.0.0 Distribution zwar dabei - aber sie funktioniert wie oben erwähnt nicht unter Windows(XP). Im pecl Package ist die leider nicht mit dabei - und auch sonst konnte ich sie für Windows nicht finden.

                    any idea?

                    Gruss,
                    redouble
                    Zuletzt geändert von redouble; 14.07.2004, 19:28.

                    Kommentar


                    • #11
                      Vielleicht hilft dir das hier weiter

                      Kommentar


                      • #12
                        supi - vielen Dank für die schnelle Hilfe!
                        (hätte ich ja auch selber drauf kommen können, bei den php bugreports mal zu suchen - für's nächste mal weiss ich's)

                        [17 Feb 2:06pm CET] wez@php.net

                        Please try this:

                        php.ini:
                        extension=php_mbstring.dll
                        extension=php_exif.dll

                        NOTE: the order is important.

                        If that doesn't work, try modifying your PATH to
                        include the PHP extension dir, then try again.
                        Das war die Lösung - zuerst php_mbstring.dll laden - danach php_exif.dll

                        Kommentar

                        Lädt...
                        X