• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

php files download to users computer if php disabled

B

BillT

Guest
Hi there,

I've noticed that if I add a new domain in plesk but forget to enable php, and then upload some php files to the domain and load one in a browser window, the file actually downloads to my computer with all the php code intact. This is obviously a concern as I often have passwords etc in my php code. Is it possible to change the apache config or something to prevent this happening?

Thanks in advance
 
Hello

There is no such configuration option, as far as I know, at least I could not find any. You can create domain template with PHP enabled by default, and then create domains using that template, just not to bother with PHP enabling each time.
 
thanks for the reply. I've set up a template but was hoping for a fallback safeguard in case someone unchecks the php box. Also the templates don't seem to be supported with subdomains so an error could easily occur there too.

Thanks
 
Back
Top