• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

index.php not loading on some domains.

D

dennysp

Guest
Hi,
I just installed 7.5.1 and I notice that some domains only display the contect of any .php file instead of actually running it. This only happens in a couple of domains. I don't see vhost.conf file or anything different in the configuration. Can someone please advice on what could be the problem?

Thanks
-d
 
This problem seems to be in short tag problem, probbbly is off in php.ini.
This is happening when you use in php files like this.

<?php - this is the correct sentence
nd you have
<? - this is wrong. put in all php file lik I mentioned and will work.
 
Try turning display_errors on in your php.ini.
This should give you a clue as to whats going on.

I would turn it off afterwards being it really makes a mess of sites which are coded sloppily :p
 
Do you have PHP enabled for these domains in Plesk? Try copying one of the scripts which don't work to a domain which you think does work to see if it's server config or domain config not working.
 
Back
Top