Warnung: file_put_contents(/home/www/web1/html/php_dev/test.txt) [function.file-put-contents]: failed to open stream: Permission denied in /home/www/web1/html/php_dev/sys/lib.activity.php (Zeile 58)
apache 2.0.32 & php 4.1.1 [Archiv] - PHP-Scripte PHP-Tutorials PHP-Jobs und vieles mehr
brauche Webseite ideal für Vereine und Firmen
- Ad -
php-resource




Archiv verlassen und diese Seite im Standarddesign anzeigen :
apache 2.0.32 & php 4.1.1


 
fuchs
21-02-2002, 11:14 
 
Hallo

nach dem versuch, apache2 und php4 wie apache1.3 und php4 zu installieren, musste ich feststellen, dass das nicht geht. der service startet nicht und wenn man den apache an der konsole startet, kommt die meldung, er könne das php modul nicht laden. ich habe alles 10 mal geprüft (pfad-angaben, schreibfehler, usw.) und es scheint alles zu stimmen.
nach einer internet-recherche habe ich herausgefunden, dass unter apache2 php anders gestartet werden muss, nur leider nicht wie )-:
kann mir jemand weiterhelfen?

vielen dank
tobru

 
DaPhreak
27-02-2002, 20:15 
 
Hi,

schau mal unter Apache 2.0 Documentation (http://httpd.apache.org/docs-2.0/mod/mod_so.html)

Da steht folgendes unter LoadModule folgendes :


LoadModule directive

Syntax: LoadModule module filename
Context: server config
Status: Base
Module: mod_so

The LoadModule directive links in the object file or library filename and adds the module structure named module to the list of active modules. Module is the name of the external variable of type module in the file, and is listed as the Module Identifier in the module documentation. Example:

LoadModule status_module modules/mod_status.so
loads the named module from the modules subdirectory of the ServerRoot.


Und soweit ich das überblicke hat sich im Gegensatz zu Version 1.3.*** nichts geändert.

Hast du zusätzlich zu der LoadModule-Anweisung auch die AddModule-Anweisung ausgeführt ??? Apache 2.0 Module Core (http://httpd.apache.org/docs-2.0/mod/core.html#addmodule)

Mit der musst du nämlich ersteinmal das Modul laden ...

mfg DaPhreak

[Editiert von DaPhreak am 27-02-2002 um 20:22]

 
fuchs
27-02-2002, 21:25 
 
Danke für die Antwort, aber...

Unter Version 1.3.xx musste man nur LoadModule ... angeben! nix von AddModule! (was vielleicht noch so zu erwähnen währe: ich arbeite mit windows)

die genaue Fehlermeldung sieht so aus:

Syntax error on line 726 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:
Cannot load C:/Program Files/Apache Group/Apache2/modules/php4apache.dll into server: The specified module could not be found.


eigentlich heisst das ja, dass die datei php4apache.dll im angegebenen verzeichnis nicht existiert, doch ich habe 10mal geschaut, und sie ist wirklich am richtigen ort!

falls du noch die ganze httpd.conf anschauen möchtest, musst du es nur sagen (dann poste ich es)!

gruz
tobru


Original geschrieben von DaPhreak
Hi,

schau mal unter Apache 2.0 Documentation (http://httpd.apache.org/docs-2.0/mod/mod_so.html)

Da steht folgendes unter LoadModule folgendes :


LoadModule directive

Syntax: LoadModule module filename
Context: server config
Status: Base
Module: mod_so

The LoadModule directive links in the object file or library filename and adds the module structure named module to the list of active modules. Module is the name of the external variable of type module in the file, and is listed as the Module Identifier in the module documentation. Example:

LoadModule status_module modules/mod_status.so
loads the named module from the modules subdirectory of the ServerRoot.


Und soweit ich das überblicke hat sich im Gegensatz zu Version 1.3.*** nichts geändert.

Hast du zusätzlich zu der LoadModule-Anweisung auch die AddModule-Anweisung ausgeführt ??? Apache 2.0 Module Core (http://httpd.apache.org/docs-2.0/mod/core.html#addmodule)

Mit der musst du nämlich ersteinmal das Modul laden ...

mfg DaPhreak

[Editiert von DaPhreak am 27-02-2002 um 20:22]


Alle Zeitangaben in WEZ +2. Es ist jetzt 20:01 Uhr.