- Plesk for Linux
example.comleads to the
index.phpbeing downloaded instead of being opened.
- Cannot login into WordPress -
wp-login.phpfile is downloaded instead.
curlutility showing that example.com has been moved permanently to
# curl -vvv http://example.com/
< HTTP/1.1 302 Moved Temporarily
< Server: Apache
< X-Powered-By: PHP/5.6.31
< Location: http://domain.tld/
< X-Powered-By: PleskLin
- When changing
index.phpto the one with the below code, the page is opened successfully in browser:
echo '<p>Hello World</p>';
PHP support is disabled on domain.tld domain.
To enable PHP support in Domains > domain.tld > PHP Settings,check PHP Support: