We can check the Php versions and configurations like suphp, phpsuexec or dso on a Cpanel based servers on shell using below command :


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

Sample output :


root@myserver [~]# /usr/local/cpanel/bin/rebuild_phpconf --current
Available handlers:
suphp dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: suphp
PHP5 SAPI: suphp
SUEXEC: enabled
root@myserver [~]#

Tags: , ,

Leave a Reply