• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Input Plesk internally retains PHP config after switched off for a domain

TimReeves

Regular Pleskian
If a domain was ever registered in Plesk with PHP Support, it still has the entries for that in some tables, even when support has been turned off.

This leads to nasty side effects:
  1. When the PHP config for Plesk is regenerated, the fpm pool configs get generated for Domains w/o PHP support - complete waste of resources.
  2. Even worse: If the PHP handler still noted has been removed (uninstalled) then a new config cannot be generated. Plesk complains that the noted handler has "probably been removed" - true - but it is not in actual use, the removal was a considered act.
To get around this problem, change the noted PHP handler for the problem domain in the Plesk DB:
  • Tools & Settings | Database Servers | Tool-Icon far right (for phpMyAdmin)
  • Select Database psa, then table "hosting"
  • Find the table row you need to change via the column values in "www_root"
  • Change the cell value at "php_handler_id" to one which is still registered,
    e.g. "plesk-php56-fpm" => "plesk-php70-fpm"
Now you can regenerate the web server configuration for that domain at the Plesk GUI.
 
Back
Top