Hi everybody,
I have running many PHP sites on my Plesk server, however, a single one just keeps on offering PHP-files for download instead of executing them. The landing page Example Domain loads perfectly and prints something like "Forwarding to login page". After a few seconds, the index.php File downloads. I created a simple phpinfo.php page <? phpinfo(); that when opened via https://www.example.com/phpinfo.php also is offered for download (containing the original php code) instead of being executed.
In Plesk I can choose from various PHP 7.2 versions, it works with FPM via nginx. However, FPM via Apache or FCGI via Apache just allows me to download the files. PHP support is enabled of course. Other domains, even for the same customer, using the very same settings work perfectly fine.
I have reinstalled the fcgi packages, restarted Apache numerous times, updated the Plesk packages as it was suggested in various other threads but still, Apache and PHP7 just don't work together for a single domain.
I've tried these as well without success:
PHP files are downloaded instead of executing
Resolved - One domain downloads php files instead of executing them
I'd appreciate any suggestions on how to proceed...
I have running many PHP sites on my Plesk server, however, a single one just keeps on offering PHP-files for download instead of executing them. The landing page Example Domain loads perfectly and prints something like "Forwarding to login page". After a few seconds, the index.php File downloads. I created a simple phpinfo.php page <? phpinfo(); that when opened via https://www.example.com/phpinfo.php also is offered for download (containing the original php code) instead of being executed.
In Plesk I can choose from various PHP 7.2 versions, it works with FPM via nginx. However, FPM via Apache or FCGI via Apache just allows me to download the files. PHP support is enabled of course. Other domains, even for the same customer, using the very same settings work perfectly fine.
I have reinstalled the fcgi packages, restarted Apache numerous times, updated the Plesk packages as it was suggested in various other threads but still, Apache and PHP7 just don't work together for a single domain.
I've tried these as well without success:
PHP files are downloaded instead of executing
Resolved - One domain downloads php files instead of executing them
I'd appreciate any suggestions on how to proceed...