How to check current php handler on the server?

Started by Dipak Bhoi, May 04, 2015, 08:47:31 AM

Previous topic - Next topic

Dipak Bhoi

Hello folks,

A php handler execute the php modules and that determines how the php pages loaded on the server. Different types of php handlers are CGI, DSO, suPHP, & FastCGI. To check current php handler in cPanel server run below command.

Quote#/usr/local/cpanel/bin/rebuild_phpconf --current

This command will show an output like as below :

QuoteAvailable handlers: suphp dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: suphp
SUEXEC: enabled

You can see currently suphp is set on the server.

Hope this post will help you...

Enjoy !! :) :)
MilesWeb - 30-Day Money Back
cPanel Web Hosting - cPanel Hosting in India
Grab a Free SSL for your website.  WordPress Optimized Solution.