Mr.Nobody
20.08.03, 19:16
Hallo!
Manchmal gebe ich den Befehl /opt/apache2/bin/apachectl -start oder stop
ein, und der Webserver startet nicht. Ich sehe nur die Auflistung sämtlicher Optionen
für den Befehl httpd. Erst kürzlich konnte ich noch meine Webseite mit Eingabe von
localhost im Webbrowser aufrufen. Gilt jetzt eigentlich httpd oder apachectl als
Befehl für apache2 unter Suse8.2? linux:/home/bernd # /opt/apache2/bin/httpd -k start
scheint manchmal eher zu funktionieren.
linux:/home/bernd # /opt/apache2/bin/apachectl -start
Usage: /opt/apache2/bin/httpd [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-k start|restart|graceful|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-S]
Options:
-D name : define a name for use in <IfDefine name> directives
-d directory : specify an alternate initial ServerRoot
-f file : specify an alternate ServerConfigFile
-C "directive" : process directive before reading config files
-c "directive" : process directive after reading config files
-e level : show startup errors of level (see LogLevel)
-E file : log startup errors to file
-v : show version number
-V : show compile settings
Das war von Anfang an so. Aber jetzt seit ich php4.3.2 kompiliert habe mit
./configure --prefix=/opt/php4.3.2 --with-mysql --with-apxs2=/opt/apache2/bin/apx
und make und make install geht irgendwie gar nichts.
In der httpd.conf habe ich das php Modul eingefügt nach einem Buch.
# Example:
# LoadModule foo_module modules/mod_foo.so
#LoadModule php4_module modules/libphp4.so
LoadModule php4_module /opt/apache2/modules/libphp4.so
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
#
linux:/home/bernd # locate libphp4.so
/home/bernd/php-4.3.2/.libs/libphp4.so
/home/bernd/php-4.3.2/libs/libphp4.so
/mnt/RedHat1/usr/lib/httpd/modules/libphp4.so
/opt/apache2/modules/libphp4.so
linux:/home/bernd #
mfG
N.
Manchmal gebe ich den Befehl /opt/apache2/bin/apachectl -start oder stop
ein, und der Webserver startet nicht. Ich sehe nur die Auflistung sämtlicher Optionen
für den Befehl httpd. Erst kürzlich konnte ich noch meine Webseite mit Eingabe von
localhost im Webbrowser aufrufen. Gilt jetzt eigentlich httpd oder apachectl als
Befehl für apache2 unter Suse8.2? linux:/home/bernd # /opt/apache2/bin/httpd -k start
scheint manchmal eher zu funktionieren.
linux:/home/bernd # /opt/apache2/bin/apachectl -start
Usage: /opt/apache2/bin/httpd [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-k start|restart|graceful|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-S]
Options:
-D name : define a name for use in <IfDefine name> directives
-d directory : specify an alternate initial ServerRoot
-f file : specify an alternate ServerConfigFile
-C "directive" : process directive before reading config files
-c "directive" : process directive after reading config files
-e level : show startup errors of level (see LogLevel)
-E file : log startup errors to file
-v : show version number
-V : show compile settings
Das war von Anfang an so. Aber jetzt seit ich php4.3.2 kompiliert habe mit
./configure --prefix=/opt/php4.3.2 --with-mysql --with-apxs2=/opt/apache2/bin/apx
und make und make install geht irgendwie gar nichts.
In der httpd.conf habe ich das php Modul eingefügt nach einem Buch.
# Example:
# LoadModule foo_module modules/mod_foo.so
#LoadModule php4_module modules/libphp4.so
LoadModule php4_module /opt/apache2/modules/libphp4.so
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
#
linux:/home/bernd # locate libphp4.so
/home/bernd/php-4.3.2/.libs/libphp4.so
/home/bernd/php-4.3.2/libs/libphp4.so
/mnt/RedHat1/usr/lib/httpd/modules/libphp4.so
/opt/apache2/modules/libphp4.so
linux:/home/bernd #
mfG
N.