• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Issue php = off in site_isolation_settings.ini not working

nethubonline

Regular Pleskian
Hi,

I want to disable PHP and do not let user to enable it in Plesk. Although I have set the plan to disable all PHP and set php = off in site_isolation_settings.ini , but user can still enable PHP. Please help and fix.

Environment:
Plesk Obsidian Version 18.0.27 Update #1
Windows 2016 Standard

How to duplicate:
  1. fresh install a Plesk with PHP 7.4
  2. plesk bin service_plan -c "Testing Plan" -manage_phosting true -allow_insecure_sites false -php false -manage_php_version false -manage_php_settings false -asp true -asp.net true
  3. plesk bin customer --create test.com -name test.com -passwd "abc1234@XYZ"
  4. plesk bin subscription --create test.com -owner test.com -service-plan "Testing Plan" -login test -passwd "abc1234@XYZ" -ip 1.2.3.4

  5. Open C:\Program Files (x86)\Plesk\admin\conf\site_isolation_settings.ini , edit as
    [hosting]
    cgi = off
    php = off
    php_handler_type = any
    php_safe_mode = any

  6. Login as test.com > Websites & Domains > Hosting & DNS > Hosting Settings , you can see CGI is hidden successfully, but PHP still showing
    screenshot.2078.jpg
  7. Websites & Domains > PHP Settings , you can also see PHP can be enabled here
    screenshot.2079.jpg
 
Hello,
This issue is confirmed as PPPM-12020 and would be fixed in upcoming Plesk updates. Thank you for reporting it!
 
Back
Top