• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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