PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : PHP will nicht :/



Cluster5020
27.04.10, 19:31
Guten Abend.

Um es kurz zu machen, ich habe heute meinen Server neu aufgesetzt und ihn mit einem Debian-50-lenny-32bit Image bespielt. (der Server ist also ganz blank)

Nun wollte ich als erstes wieder den Apache zum Laufen bringen, dies hat auch geklappt nur mit PHP5 hat er Probleme.

Via Browser habe ich Einsicht auf html files, aber bei PHP-Scripten bietet er mir nur deren Download an.

Gibt es debugging Schritte oder Reparatur Möglichkeiten???

Hier noch die Liste, aller hinzugefügten Pakete (habe ich womöglich eines vergessen/gelöscht?)

Vielen Dank!!


Reading package lists... Done
Building dependency tree
Reading state information... Done
apache2 is already the newest version.
apache2-mpm-prefork is already the newest version.
apache2-utils is already the newest version.
apache2.2-common is already the newest version.
bind9 is already the newest version.
bind9utils is already the newest version.
courier-authdaemon is already the newest version.
courier-authlib is already the newest version.
courier-authlib set to manually installed.
courier-authlib-mysql is already the newest version.
courier-authlib-userdb is already the newest version.
courier-base is already the newest version.
defoma is already the newest version.
dovecot-common is already the newest version.
dovecot-imapd is already the newest version.
dovecot-pop3d is already the newest version.
expect is already the newest version.
fam is already the newest version.
fontconfig-config is already the newest version.
libapache2-mod-php5 is already the newest version.
libapr1 is already the newest version.
libaprutil1 is already the newest version.
libc-client2007b is already the newest version.
libcap1 is already the newest version.
libdbd-mysql-perl is already the newest version.
libdbi-perl is already the newest version.
libdbi-perl set to manually installed.
libexpat1 is already the newest version.
libfam0 is already the newest version.
libfontconfig1 is already the newest version.
libfreetype6 is already the newest version.
libfreetype6 set to manually installed.
libgd2-xpm is already the newest version.
libgeoip1 is already the newest version.
libhtml-template-perl is already the newest version.
libjpeg62 is already the newest version.
libltdl3 is already the newest version.
libmysqlclient15off is already the newest version.
libnet-daemon-perl is already the newest version.
libplrpc-perl is already the newest version.
libpng12-0 is already the newest version.
libpq5 is already the newest version.
libsasl2-modules is already the newest version.
libsasl2-modules-sql is already the newest version.
libsqlite0 is already the newest version.
libsqlite0 set to manually installed.
libt1-5 is already the newest version.
libterm-readkey-perl is already the newest version.
libxpm4 is already the newest version.
maildrop is already the newest version.
mlock is already the newest version.
mysql-client-5.0 is already the newest version.
mysql-common is already the newest version.
mysql-server is already the newest version.
mysql-server-5.0 is already the newest version.
mysql-server-5.0 set to manually installed.
openssl is already the newest version.
openssl-blacklist is already the newest version.
php5 is already the newest version.
php5-cli is already the newest version.
php5-common is already the newest version.
php5-gd is already the newest version.
php5-imap is already the newest version.
php5-mysql is already the newest version.
php5-suhosin is already the newest version.
proftpd-basic is already the newest version.
proftpd-mod-mysql is already the newest version.
psmisc is already the newest version.
ssl-cert is already the newest version.
tcl8.4 is already the newest version.
ttf-dejavu is already the newest version.
ttf-dejavu-core is already the newest version.
ttf-dejavu-extra is already the newest version.
webalizer is already the newest version.
bind9-host is already the newest version.
dnsutils is already the newest version.
libbind9-40 is already the newest version.
libdns45 is already the newest version.
libisc45 is already the newest version.
libisccc40 is already the newest version.
libisccfg40 is already the newest version.
liblwres40 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

marce
27.04.10, 19:49
ohne Debian 100% zu kennen sieht es an sich gut aus.

Klingt eher danach, wie wenn die Apache-Konfig noch nicht sauber wäre.

heatwalker
27.04.10, 19:52
Ist denn das php.modul im apache überhaupt geladen?

Schau mal unter
/etc/apache2/mods-enabled/
ob php5 geladen ist.

TBT
27.04.10, 20:53
"a2enmod php5"

schaltet das Modul falls nicht geschehen im Apachen ein ;)

marce
27.04.10, 21:10
... und dann braucht es immer noch die entsprechenden Vernknüpfungen zu den "gewünschten Dateiendungen" :-)

oziris
27.04.10, 21:42
Evtl. auch noch den Apachen reloaden. Siehe man "apache2ctl" unter "graceful".

marce
27.04.10, 21:44
ok, daß wir dann auch wirklich alles abgefrühstückt haben: Browsercache leeren - trotz "alles andere ist richtig" kann der manchmal auch noch böse reinfunken...