UnixServerAdmin

Server Administration & Management

How to check php configuration on shell for cPanel server

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
Available handlers:
suphp dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: suphp
PHP5 SAPI: suphp
SUEXEC: enabled

Advertisements

June 10, 2012 - Posted by | cPanel, PHP | , ,

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: