Question: PHP pages on domains in Plesk are downloaded instead of being opened
Applicable to:- Plesk
- Plesk for Linux
- Plesk for Windows
Symptoms- WordPress admin dashboard can not be opened for a Plesk domain. The wp-login.php file is being downloaded instead of opening.
- Opening website leads to the index.php being downloaded instead.
CausePHP support is disabled for the example.com domain in Domains > example.com > PHP Settings.
ResolutionEnable the PHP Support for the example.com website in one of the following ways:
via Plesk Graphical Interface
1.Log into Plesk.
2.Navigate to
Domains > example.com > PHP Settings.3.Select the
PHP Support checkbox and press the
OK button:
(https://pix.cobrasoft.org/images/2025/12/31/screenshot-1.png)
via Command Line Interface (CLI)1.Connect to the server via SSH or RDP.
2.For Plesk for Windows, additionally start the Command Prompt.
3.Execute the following command:
Note: change the "example.com" domain in the command below to the correct one
# plesk bin subscription -u example.com -php true