Hallo,
habe das gleiche Problem. Alle Tipps in den Foren sind ausprobiert
Module manuell deinstalliert mit purge, neu installiert, Modul aktiviert. Sogar komplette Neuinstallation von Ubuntu 16.04 hat nichts geholfen.
Es wird immer noch ein Download ausgeführt beim Öffnen einer PHP-Datei.
PHP7.0.conf
<FilesMatch ".+\.ph(p[3457]?|t|tml)$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch ".+\.phps$">
SetHandler application/x-httpd-php-source
#SetHandler application/x-httpd-php phtml pht php
# Deny access to raw php sources by default
# To re-enable it's recommended to enable access to the files
# only in specific virtual host or directory
# Require all denied
</FilesMatch>
# Deny access to files without filename (e.g. '.php')
<FilesMatch "^\.ph(p[3457]?|t|tml|ps)$">
# Require all denied
</FilesMatch>
# Running PHP scripts in user directories is disabled by default
#
# To re-enable PHP in user directories comment the following lines
# (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it
# prevents .htaccess files from disabling it.
<IfModule mod_userdir.c>
<Directory /home/*/public_html>
#Auskommentiert weil es ein Tipp im Forum war
#php_admin_flag engine Off
</Directory>
</IfModule>
––––––––––––––––––––––––––––––––––-
ports.conf
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf
Listen 80
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Was ist falsch – Hat jemand eine Lösung???
Beste Grüße