wenn ich url mit index.php aufrufe, wird es Download-Fenster erscheint, dass index.php heruntergeladen wird. Das wollte ich nicht.
Ich habe PHP mit neues Version schon installiert und Konfigurationsdatei von Apache eingetragt.
Error_log von Apache
- Code: Select all
[Tue Nov 13 09:19:13 2007] [notice] Apache/2.2.6 (Linux/SUSE) mod_ssl/2.2.6 OpenSSL/0.9.8a PHP/5.2.5 mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
php5.conf
- Code: Select all
<IfModule mod_php5.c>
AddType application/x-httpd-php5 .php .php4 .php5 -phtml
AddType application/x-httpd-php5-source .phps
AddHandler application/x-httpd-php5 .php4
AddHandler application/x-httpd-php5 .php5
AddHandler application/x-httpd-php5 .php
AddHandler application/x-httpd-php5-source .php4s
AddHandler application/x-httpd-php5-source .php5s
AddHandler application/x-httpd-php5-source .phps
DirectoryIndex index.php4
DirectoryIndex index.php5
DirectoryIndex index.php
</IfModule>
VirtuelleHost
<VirtualHost 10.8.0.1:80>
ServerAdmin manuel.ostendorf@ponte-web.de
ServerName zabbix.ponte-home.de
DocumentRoot /srv/www/vhosts/ponte-home.de/zabbix
HostnameLookups Off
UseCanonicalName Off
ServerSignature On
Include /etc/apache2/conf.d/php5.conf
<Directory "/srv/www/vhosts/ponte-home.de/zabbix">
AddHandler php5-script php
Options +Indexes +FollowSymLinks
DirectoryIndex index.php
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Habt ihr irgendwie mein Fehler erkennt?
Manu[/code]