Preloader
Others
  • Estimated reading time: 1 Minute

How to uninstall a PHP Handler in Plesk Onyx with the CLI

To uninstall a specific PHP Handler from plesk, run the following command (replacing the id of the handler, that in our case is php5.6.40-custom):

/usr/local/psa/bin/php_handler --remove -id php5.6.40-custom

If you want to use the the plesk bin, then use the following command instead:

plesk bin php_handler --remove -id php5.6.40-custom

But be careful, otherwise you will find the next message if some domain/subdomain is using the handler: Unable to remove the PHP handler: The PHP handler is used in site configurations. Remember that only custom handlers can be deleted, the installed versions via Plesk Installer must be uninstalled with the Plesk Installer as well.

Happy coding !

Share:
Carlos Delgado

Carlos Delgado

Senior Software Engineer at Corvix. Interested in programming since he was 14 years old, Carlos is a self-taught programmer and founder and author of most of the articles at Our Code World.

Related articles
Effective Senior Software Engineer Assessments Beyond Coding Puzzles
14 Nov, 2026
  • Estimated reading time: 3 Minutes
A Dubai Real Estate App Needs More Than Listings
14 Nov, 2026
  • Estimated reading time: 3 Minutes
How to Recover Deleted Files for Free: A Safe Step-by-Step Guide
13 Nov, 2026
  • Estimated reading time: 5 Minutes
Four Ways to Send a Fax from a Computer and What You Need
13 Nov, 2026
  • Estimated reading time: 4 Minutes
Weekly trending
Effective Senior Software Engineer Assessments Beyond Coding Puzzles
14 Nov, 2026
  • Estimated reading time: 3 Minutes
A Dubai Real Estate App Needs More Than Listings
14 Nov, 2026
  • Estimated reading time: 3 Minutes
How to Recover Deleted Files for Free: A Safe Step-by-Step Guide
13 Nov, 2026
  • Estimated reading time: 5 Minutes
Our Sponsors

Our blog is proudly supported by industry-leading sponsors.