MilesWeb Hosting Forum

Web Hosting Technical Support => How To's => Topic started by: Dipak Bhoi on May 04, 2015, 08:47:31 AM

Title: How to check current php handler on the server?
Post by: Dipak Bhoi on May 04, 2015, 08:47:31 AM
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 !! :) :)