Wondering how to resolve service plans with unregistered PHP handlers? Our server management services team is here to lend a hand with your queries and issues.
Service plans with unregistered PHP handlers
PHP handlers, a type of Apache module, contain libraries that the Apache web server uses to interpret and run PHP code.
The /etc/apache2/conf. d/php. conf configuration file contains the global directives that configure Apache’s PHP application handlers
Typically, error looks as shown below:
‘1 service plans with unregistered PHP handlers were found.’
The following command returns the error:
plesk repair web -php-handlers -v -n
Checking the usage of PHP handlers
The following service plans have unregistered PHP handlers: ……. [ERROR]
– Admin Simple
The issue could be resolved only in the interactive mode (without -y and -n options).
Error messages: 1; Warnings: 0; Errors resolved: 0
exit status 1
Usually, error occurs when PHP handler was removed or missing.
Today, let us see the steps followed by our support techs to resolve it:
1.Firstly, log into Plesk
2.Follow steps from this article to change the PHP version for an affected service plan from Plesk UI
3. Fix using “plesk repair” command line
4. Connect to the server via SSH
5. Run the command below as a ‘root’ and to choose the PHP handler to switch to when offered.
plesk repair web -php-handlers
To see more details, run the command in the verbose mode: plesk repair web -verbose
Use the following PHP handler to fix the issue:
1. [ ] 7.3.17 (FastCGI application)
2. [ ] 7.1.33 (FastCGI application)
3. [ ] 7.3.17 (CGI application)
4. [ ] 7.4.5 (FPM application)
5. [ ] 7.1.33 (CGI application)
6. [ ] 7.2.30 (FPM application)
7. [ ] 7.3.17 (FPM application)
8. [ ] 7.4.5 (CGI application)
9. [ ] 7.1.33 (FPM application)
10. [ ] 7.2.30 (CGI application)
11. [ ] 7.4.5 (FastCGI application)
12. [ ] 7.2.30 (FastCGI application)
13. [ ] Disable PHP support
14. [*] Do not fix
6. Finally, type the number of the necessary option: 4
Conclusion
To wrap up, our Support Engineers demonstrated a quick fix for resolving Service plans with unregistered PHP handlers. We also learned about the root cause behind this specific error.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments