{"id":9323,"date":"2022-03-03T16:30:40","date_gmt":"2022-03-03T11:00:40","guid":{"rendered":"https:\/\/www.skynats.com\/?p=9323"},"modified":"2025-10-28T11:09:49","modified_gmt":"2025-10-28T05:39:49","slug":"how-to-install-centos-web-panel-and-configure-with-php-selector","status":"publish","type":"post","link":"https:\/\/www.skynats.com\/blog\/how-to-install-centos-web-panel-and-configure-with-php-selector\/","title":{"rendered":"How To Install CentOS Web Panel And Configure With PHP Selector"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The CentOS Web Panel, also known as CWP, is an open-source server with a feature-rich control panel for easy server management. CentOS makes user management easier because it has a lot of automation features and long-term release cycles. Notably, CentOs streamlines and simplifies server management for businesses that require a high level of security.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We get a lot of questions about how to install and configure the CentOS web panel (CWP) as a leading server management company. We&#8217;ll show you how to install CentOS web panel (CWP) and configure it with PHP Selector in this article.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let us just take a look at some of the great attributes of the CentOS web panel before we get into how our server engineers perform the installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Features of the Centos Web Panel<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In comparison to other free open sources Linux distros, it has a higher level of stability.&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Community support at a high level.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>CentOS is dependable and fast.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>cPanel migration and live monitoring.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>User interface that is simple to use.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The Web server, PHP, User management, Security, Email, <a href=\"https:\/\/www.mysql.com\/\" target=\"_blank\" rel=\"noopener\">MySQL<\/a>, System, and DNS oriented features of a CentOS server can all be configured using CWP. However, if you want to learn how to install a CentOS web panel, your server must meet certain requirements, such as<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An updated version of Centos Server.<\/li>\n\n\n\n<li>The minimum RAM for a 32bit server is 512 MB and 64bit Server- 1024 MB&nbsp;&nbsp;&nbsp;<\/li>\n\n\n\n<li>10 GB of free disc space&nbsp;<\/li>\n\n\n\n<li>static IP address<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading has-normal-font-size\" id=\"h-how-to-install-centos-web-panel-and-configure-php-selector\">How to Install CentOS Web Panel and Configure PHP Selector<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The CentOS web panel installation is straightforward and can be completed on your own. To install the CentOS web panel, go through the following steps:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt; cd \/usr\/local\/src\n\n&gt;&gt; wget http:\/\/dl1.centos-webpanel.com\/files\/cwp-latest.sh\n\n&gt;&gt; sh cwp-latest.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then you can create a patched suPHP to make the PHP Selector function. SuPHP should be downloaded or unpacked.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt; cd \/usr\/local\/src\/\n\n&gt;&gt; wget http:\/\/www.suphp.org\/download\/suphp-0.7.1.tar.gz\n\n&gt;&gt; cd suphp-0.7.1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Follow the given instructions below to apply the Patches:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt; wget http:\/\/repo.cloudlinux.com\/cloudlinux\/sources\/da\/cl-apache-patches.tar.gz\n\n&gt;&gt; tar xfz cl-apache-patches.tar.gz<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Use the following code piece to apply the patch:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt; patch -p1 &lt; suphp-0.7.1-cagefs.patch<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If the Apache version is 2.4, we&#8217;ll need to change the configure file to use suPHP sources. For that, use the code below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt; vi configure<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Locate the code section listed below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>major_version=`echo $APACHE_VERSION|cut -f1,2 -d.`\n\nif test \u201c$major_version\u201d = \u201c2.0\u201d -o \u201c$major_version\u201d = \u201c2.2\u201d; then\n\nAPACHE_VERSION_2=true\n\nAPACHE_VERSION_1_3=false\n\nelse\n\nAPACHE_VERSION_2=false\n\nAPACHE_VERSION_1_3=true<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">And replace the code in the line &#8220;if test&#8221; with the following code fragment:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> if test \u201c$major_version\u201d = \u201c2.0\u201d -o \u201c$major_version\u201d = \u201c2.2\u201d -o \u201c$major_version\u201d = \u201c2.4\u201d; then<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Build suPHP using the code provided below once the changes have been made.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt; .\/configure \u2013with-apr=\/usr\/local\/apr\/ \u2013with-apxs=\/usr\/local\/apache\/bin\/apxs -with-setid-mode=paranoid \u2013with-apache-user=nobody \u2013with-gnu-ld \u2013disable-checkpath \u2013sysconfdir=\/usr\/local\/etc \u2013sbindir=\/usr\/local\/sbin\n\n&gt;&gt; make\n\n&gt;&gt; make install<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm that the suPHP binary contains the required code after it has been completed successfully. If the output outcomes look like the ones below, you&#8217;ve completed the installation process successfully.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u2014- &gt; strings \/usr\/local\/sbin\/suphp | grep jail\n\nlve_jail_uid CageFS jail error<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you don&#8217;t get any output, go back and check all of the procedures from the start to find the problem and fix the error.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, make the following changes \/etc\/cl.selector\/native.conf: as shown below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php=\/usr\/local\/bin\/php-cgi php-cli=\/usr\/local\/bin\/php php.ini=\/usr\/local\/php\/php.ini php-\n\nfpm=\/usr\/local\/sbin\/php-fpm<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading has-normal-font-size\" id=\"h-conclusion\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The instructions in this article will show you how to install CentOS Web Panel and configure it with PHP Selector. Even if you followed the installation process exactly and didn&#8217;t make any mistakes, there&#8217;s a possibility you&#8217;ll get an error. <a href=\"https:\/\/www.skynats.com\/blog\/\">Skynats<\/a> Technical experts are available 24&#215;7 offering the best <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-primary-color\">server support service<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-background-color\">s<\/mark>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The CentOS Web Panel, also known as CWP, is an open-source server with a feature-rich control panel for easy server management. CentOS makes user management easier because it has a lot of automation features and long-term release cycles. Notably, CentOs streamlines and simplifies server management for businesses that require a high level of security. We [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[685,686],"class_list":["post-9323","post","type-post","status-publish","format-standard","hentry","category-blog","tag-centos-web-panel","tag-php-selector"],"_links":{"self":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/9323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/comments?post=9323"}],"version-history":[{"count":1,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/9323\/revisions"}],"predecessor-version":[{"id":16375,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/9323\/revisions\/16375"}],"wp:attachment":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/media?parent=9323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/categories?post=9323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/tags?post=9323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}