kosovafan
22.07.08, 13:56
Hallo,
ich habe heute auf meinen neuen Rootserver (Debian) den Apache mit PHP neu kompilliert. Alles ging ohne entsprechende Fehler über die Bühne. Jetzt habe ich die entsprechenden Anweisungen in die httpd.conf geschrieben, aber er gibt keine entsprechende PHP Info Seite aus.
<apache>
./configure --prefix=/usr/local/apache --enable-modules=all --enable-ssl
--with-ssl=/usr/local/ssl --enable-so --with-suexec-caller=www-data
--with-suexec-docroot=/usr/local/apache/htdocs --with-suexec-uidmin=1000
--with-suexec-gidmin=1000
</apache>
<php>
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache/bin/apxs
--with-openssl=/usr/local/ssl --with-zlib --enable-bcmath --with-curl
--with-bz2 --enable-calendar --enable-exif --enable-ftp
--with-gd=/usr/local --with-iconv --with-imap --with-imap-ssl
--with-kerberos --with-mcrypt --with-mime-magic --enable-mbstring=all
--with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-shmop --enable-wddx --with-xmlrpc --with-pear
--enable-fastcgi --with-config-file-path=/etc --with-ttf
--enable-gd-native-ttf --enable-gd-jis-conv --with-pgsql --with-ldap
--with-gettext --with-pcre-regex --with-mm --enable-static
--with-freetype-dir=/usr/local
</php>
<httpd.conf>
LoadModule php5_module modules/libphp5.so
DirectoryIndex index.html index.php
AddType application/x-httpd-php .php .php4 .php3 .phtml
</httpd.conf>
Dann habe ich den Apache gestartet, komisch ist schon das in der Log nur
"Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h DAV/2 mod_perl/2.0.4 Perl/v5.8.8" erscheint, von PHP wird garnicht gesprochen!
Bei Aufruf der Seite info.php habe ich nur den folgenden Eintrag in der Log:
[22/Jul/2008:13:47:28 +0200] "GET /waskannphp.php HTTP/1.1" 500 -
Hat jemand Rat? Ich weiss nicht mehr weiter!
MFG
Silvio
ich habe heute auf meinen neuen Rootserver (Debian) den Apache mit PHP neu kompilliert. Alles ging ohne entsprechende Fehler über die Bühne. Jetzt habe ich die entsprechenden Anweisungen in die httpd.conf geschrieben, aber er gibt keine entsprechende PHP Info Seite aus.
<apache>
./configure --prefix=/usr/local/apache --enable-modules=all --enable-ssl
--with-ssl=/usr/local/ssl --enable-so --with-suexec-caller=www-data
--with-suexec-docroot=/usr/local/apache/htdocs --with-suexec-uidmin=1000
--with-suexec-gidmin=1000
</apache>
<php>
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache/bin/apxs
--with-openssl=/usr/local/ssl --with-zlib --enable-bcmath --with-curl
--with-bz2 --enable-calendar --enable-exif --enable-ftp
--with-gd=/usr/local --with-iconv --with-imap --with-imap-ssl
--with-kerberos --with-mcrypt --with-mime-magic --enable-mbstring=all
--with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-shmop --enable-wddx --with-xmlrpc --with-pear
--enable-fastcgi --with-config-file-path=/etc --with-ttf
--enable-gd-native-ttf --enable-gd-jis-conv --with-pgsql --with-ldap
--with-gettext --with-pcre-regex --with-mm --enable-static
--with-freetype-dir=/usr/local
</php>
<httpd.conf>
LoadModule php5_module modules/libphp5.so
DirectoryIndex index.html index.php
AddType application/x-httpd-php .php .php4 .php3 .phtml
</httpd.conf>
Dann habe ich den Apache gestartet, komisch ist schon das in der Log nur
"Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h DAV/2 mod_perl/2.0.4 Perl/v5.8.8" erscheint, von PHP wird garnicht gesprochen!
Bei Aufruf der Seite info.php habe ich nur den folgenden Eintrag in der Log:
[22/Jul/2008:13:47:28 +0200] "GET /waskannphp.php HTTP/1.1" 500 -
Hat jemand Rat? Ich weiss nicht mehr weiter!
MFG
Silvio