- Cannot login into WordPress admin dashboard because the
wp-login.phpfile is downloaded instead of opening.
Opening website leads to the
index.phpbeing downloaded instead of being opened.
PHP support is disabled for the
example.com domain at Plesk > Domains > example.com > PHP Settings.
Enable the PHP Support for the
example.com website in one of the following ways:
via Plesk Graphical Interface
Log into Plesk and navigate to Domains > example.com > PHP Settings.
Mark the PHP Support checkbox and press the OK button: