{"id":144,"date":"2016-06-20T22:17:37","date_gmt":"2016-06-20T22:17:37","guid":{"rendered":"http:\/\/www.theperfectarts.com\/2008\/12\/how-to-check-on-cpanel-server-suexec-configured-values\/"},"modified":"2018-08-15T14:25:32","modified_gmt":"2018-08-15T14:25:32","slug":"how-to-check-on-cpanel-server-suexec-configured-values","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/how-to-check-on-cpanel-server-suexec-configured-values\/","title":{"rendered":"How to check on cPanel server SuExec configured values."},"content":{"rendered":"<h1 class=\"entry-title\">Check SuExec values<\/h1>\n<p>Check SuExec values is one of the important command because some time after configuring SuExec on a server caused many issues to websites and we need to sort out the issue by adjusting SuExec setting. To check the server side SuExec configured values, simply use the following command <strong>&#8220;suexec -V&#8221;<\/strong> on server by using root login credentials.<\/p>\n<p><span style=\"color: #800000;\"><strong>root@server [~]# suexec -V<\/strong><\/span><\/p>\n<p>It will give you following result.<\/p>\n<blockquote><p><strong><span style=\"color: #800000;\">-D AP_DOC_ROOT=&#8221;\/var\/www&#8221;<\/span><\/strong><br \/>\n<strong><span style=\"color: #800000;\"> -D AP_GID_MIN=100<\/span><\/strong><br \/>\n<strong><span style=\"color: #800000;\"> -D AP_HTTPD_USER=&#8221;apache&#8221;<\/span><\/strong><br \/>\n<strong><span style=\"color: #800000;\"> -D AP_LOG_EXEC=&#8221;\/var\/log\/httpd\/suexec.log&#8221;<\/span><\/strong><br \/>\n<strong><span style=\"color: #800000;\"> -D AP_SAFE_PATH=&#8221;\/usr\/local\/bin:\/usr\/bin:\/bin&#8221;<\/span><\/strong><br \/>\n<strong><span style=\"color: #800000;\"> -D AP_UID_MIN=500<\/span><\/strong><br \/>\n<strong><span style=\"color: #800000;\"> -D AP_USERDIR_SUFFIX=&#8221;public_html&#8221;<\/span><\/strong><\/p><\/blockquote>\n<p>To collect more information about above value refer following URL<br \/>\n<a href=\"http:\/\/httpd.apache.org\/docs\/1.3\/suexec.html#install\"><br \/>\nCheck it\u00a0<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Check SuExec values Check SuExec values is one of the important command because some time after configuring SuExec on a server caused many issues to <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/how-to-check-on-cpanel-server-suexec-configured-values\/\" title=\"How to check on cPanel server SuExec configured values.\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":6505,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47,39,44],"tags":[334,336,337,335,338],"class_list":["post-144","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apache-web-server","category-centos-server","category-linux","tag-check-suexec-values","tag-configure-suexec-values","tag-cpanel-suexec-values","tag-how-to-check-suexec-values","tag-suexec-values-command"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/144"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=144"}],"version-history":[{"count":16,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/144\/revisions"}],"predecessor-version":[{"id":6509,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/144\/revisions\/6509"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media\/6505"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}