Mr.Nobody
20.09.03, 11:35
Hallo,
Ich habe apache2 (httpd-2.0.47) kompiliert auf Suse8.2. Er funktioniert auch.
Aber die php4.3.2 Einbindung will einfach nicht klappen.
Der Browser zeigt bei Aufruf von httpd://localhost/test.php
nur folgende Seite an:
<html>
<head>
<title>Status PHP 4</title>
</head>
<body>
<? phpinfo(); ?>
</body>
</html>
Hier mein Eintrag aus der httpd.conf
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# 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>
hauptrechner:/opt/apache2/modules # ls -l
insgesamt 5790
drwxr-xr-x 2 root root 112 2003-09-20 10:44 .
drwxr-xr-x 15 root root 360 2003-09-20 10:12 ..
-rw-r--r-- 1 root root 8217 2003-09-20 10:11 httpd.exp
-rwxr-xr-x 1 root root 5909799 2003-09-20 10:44 libphp4.so
und
hauptrechner:/opt/apache2/htdocs # locate php4.so
/home/bernd/php-4.3.2/.libs/libphp4.so
/home/bernd/php-4.3.2/libs/libphp4.so
/opt/apache2/modules/libphp4.so
ich kann den Fehler bei mir einfach nicht finden
mfG
N.
Ich habe apache2 (httpd-2.0.47) kompiliert auf Suse8.2. Er funktioniert auch.
Aber die php4.3.2 Einbindung will einfach nicht klappen.
Der Browser zeigt bei Aufruf von httpd://localhost/test.php
nur folgende Seite an:
<html>
<head>
<title>Status PHP 4</title>
</head>
<body>
<? phpinfo(); ?>
</body>
</html>
Hier mein Eintrag aus der httpd.conf
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# 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>
hauptrechner:/opt/apache2/modules # ls -l
insgesamt 5790
drwxr-xr-x 2 root root 112 2003-09-20 10:44 .
drwxr-xr-x 15 root root 360 2003-09-20 10:12 ..
-rw-r--r-- 1 root root 8217 2003-09-20 10:11 httpd.exp
-rwxr-xr-x 1 root root 5909799 2003-09-20 10:44 libphp4.so
und
hauptrechner:/opt/apache2/htdocs # locate php4.so
/home/bernd/php-4.3.2/.libs/libphp4.so
/home/bernd/php-4.3.2/libs/libphp4.so
/opt/apache2/modules/libphp4.so
ich kann den Fehler bei mir einfach nicht finden
mfG
N.