{"id":23515,"date":"2017-10-12T08:00:49","date_gmt":"2017-10-12T13:00:49","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=23515"},"modified":"2022-06-03T03:41:57","modified_gmt":"2022-06-03T08:41:57","slug":"install-redis-and-redis-php-on-cpanel","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/","title":{"rendered":"Install Redis and Redis PHP on cPanel"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-23765\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel.jpg\" alt=\"Install Redis and Redis PHP on cPanel\" width=\"1200\" height=\"600\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel.jpg 1200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel-768x384.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel-1024x512.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel-860x430.jpg 860w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel-680x340.jpg 680w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel-500x250.jpg 500w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel-400x200.jpg 400w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel-200x100.jpg 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel-50x25.jpg 50w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>Redis stands for Remote DIctionary Server and it is a key-value NoSQL database. Almost all languages including PHP have Redis bindings. In this guide, we will show you how to install Redis server and Redis PHP extension on a cPanel based servers so you can use Redis as a cache backend for your <a href=\"https:\/\/www.rosehosting.com\/wordpress-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress<\/a>, <a href=\"https:\/\/www.rosehosting.com\/laravel-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Laravel<\/a>, <a href=\"https:\/\/www.rosehosting.com\/drupal-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Drupal <\/a>or any other <a href=\"https:\/\/www.rosehosting.com\/php-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">PHP<\/a> based application.<\/p>\n<p><!--more--><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f06dfc7e3ab\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f06dfc7e3ab\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#1-Install-Redis-server\" >1. Install Redis server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#2-Install-the-EPEL-Repository-on-CentOS-6\" >2. Install the EPEL Repository on CentOS 6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#3-Install-the-Redis-Package-Using-Yum\" >3.\u00a0\u00a0Install the Redis Package Using Yum<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#4-Start-and-Configure-the-Redis-service\" >4.\u00a0Start and Configure the Redis service<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#5-Install-the-EPEL-Repository-on-CentOS-7\" >5. Install the EPEL Repository on CentOS 7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#6-Install-Redis-PHP-extension\" >6. Install Redis PHP extension<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#7-Install-the-Redis-PHP-Extension-EasyApache-3\" >7. Install the Redis PHP Extension EasyApache 3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#8-Install-the-Redis-PHP-Extension-EasyApache-4\" >8. Install the Redis PHP Extension EasyApache 4<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#9-Install-and-Enable-the-Redis-PHP-Extension-on-PHP-54\" >9. Install and Enable the Redis PHP Extension on PHP 5.4<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#10-Install-and-Enable-the-Redis-PHP-Extension-on-PHP-55\" >10. Install and Enable the Redis PHP Extension on PHP 5.5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#11-Install-and-Enable-the-Redis-PHP-Extension-on-PHP-56\" >11. Install and Enable the Redis PHP Extension on PHP 5.6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#12-Install-and-Enable-the-Redis-PHP-Extension-on-PHP-70\" >12. Install and Enable the Redis PHP Extension on PHP 7.0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#13-Install-and-Enable-the-Redis-PHP-Extension-on-PHP-71\" >13. Install and Enable the Redis PHP Extension on PHP 7.1<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"1-Install-Redis-server\"><\/span>1. Install Redis server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Redis is not available in the default <a href=\"http:\/\/mirror.centos.org\/centos\/\">CentOS repositories<\/a>, so we need to enable the EPEL repository and install the Redis package from there.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"2-Install-the-EPEL-Repository-on-CentOS-6\"><\/span>2. Install the EPEL Repository on CentOS 6<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To install the EPEL repository please run the following command:<\/p>\n<pre>rpm -Uvh http:\/\/download.fedoraproject.org\/pub\/epel\/6\/x86_64\/epel-release-6-8.noarch.rpm<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"3-Install-the-Redis-Package-Using-Yum\"><\/span>3.\u00a0\u00a0Install the Redis Package Using Yum<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Once the repository is enabled, you can install the redis package using Yum:<\/p>\n<pre>sudo yum install redis<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"4-Start-and-Configure-the-Redis-service\"><\/span>4.\u00a0Start and Configure the Redis service<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Start the Redis service and enable it to start on boot with the following commands:<\/p>\n<pre>service redis restart\r\nchkconfig --level 345 redis on<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"5-Install-the-EPEL-Repository-on-CentOS-7\"><\/span>5. Install the EPEL Repository on CentOS 7<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Same as with CentOS 6 first install the EPEL repository:<\/p>\n<pre>yum install epel-release<\/pre>\n<p>Once the repository is enabled, install the Redis package using Yum:<\/p>\n<pre>yum install redis<\/pre>\n<p>Start the Redis service and enable it to start on boot with the following commands:<\/p>\n<pre>systemctl restart redis\r\nsystemctl enable redis<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"6-Install-Redis-PHP-extension\"><\/span>6. Install Redis PHP extension<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Redis PHP extension is not available in EasyApache so we will install the Redis PHP extension using the pecl command. We will also enable Igbinary support which is a drop in replacement for the standard PHP serializer.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"7-Install-the-Redis-PHP-Extension-EasyApache-3\"><\/span>7. Install the Redis PHP Extension EasyApache 3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To install the Redis PHP extension issue the following command:<\/p>\n<pre>yes | pecl install igbinary igbinary-devel redis<\/pre>\n<p>once the build process is completed, verify the installation using the following command:<\/p>\n<pre>php -m | grep redis<\/pre>\n<p>and you should see <code>redis<\/code>, if there is no output, it means that Redis extension is not installed\/loaded.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"8-Install-the-Redis-PHP-Extension-EasyApache-4\"><\/span>8. Install the Redis PHP Extension EasyApache 4<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>EasyApache 4 supports multiple versions of PHP so we need to install the Redis PHP extension on each PHP version.<\/p>\n<p>Run the following commands to install and enable the Redis PHP extension on<span class=\"st\"> each PHP version you have installed on your server:<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"9-Install-and-Enable-the-Redis-PHP-Extension-on-PHP-54\"><\/span>9. Install and Enable the Redis PHP Extension on PHP 5.4<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>yes | \/opt\/cpanel\/ea-php54\/root\/usr\/bin\/pecl install igbinary igbinary-devel redis\r\n\/opt\/cpanel\/ea-php54\/root\/usr\/bin\/php -m | grep redis<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"10-Install-and-Enable-the-Redis-PHP-Extension-on-PHP-55\"><\/span>10. Install and Enable the Redis PHP Extension on PHP 5.5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>yes | \/opt\/cpanel\/ea-php55\/root\/usr\/bin\/pecl install igbinary igbinary-devel redis \r\n\/opt\/cpanel\/ea-php55\/root\/usr\/bin\/php -m | grep redis<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"11-Install-and-Enable-the-Redis-PHP-Extension-on-PHP-56\"><\/span>11. Install and Enable the Redis PHP Extension on PHP 5.6<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>yes | \/opt\/cpanel\/ea-php56\/root\/usr\/bin\/pecl install igbinary igbinary-devel redis \r\n\/opt\/cpanel\/ea-php56\/root\/usr\/bin\/php -m | grep redis<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"12-Install-and-Enable-the-Redis-PHP-Extension-on-PHP-70\"><\/span>12. Install and Enable the Redis PHP Extension on PHP 7.0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>yes | \/opt\/cpanel\/ea-php70\/root\/usr\/bin\/pecl install igbinary igbinary-devel redis \r\n\/opt\/cpanel\/ea-php70\/root\/usr\/bin\/php -m | grep redis<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"13-Install-and-Enable-the-Redis-PHP-Extension-on-PHP-71\"><\/span>13. Install and Enable the Redis PHP Extension on PHP 7.1<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>yes | \/opt\/cpanel\/ea-php71\/root\/usr\/bin\/pecl install igbinary igbinary-devel redis \r\n\/opt\/cpanel\/ea-php71\/root\/usr\/bin\/php -m | grep redis<\/pre>\n<p>That\u2019s it. You have successfully installed Redis server and Redis PHP extension on your <a href=\"https:\/\/www.rosehosting.com\/cpanel-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">cPanel VPS<\/a><\/p>\n<hr \/>\n<p>Installing Redis and Redis PHP on cPanel is an easy task if you have a <a href=\"https:\/\/www.rosehosting.com\/cpanel-hosting.html\">VPS cPanel Hosting<\/a> with us. Feel free to ask our expert Linux Administrators to install Redis and Redis PHP on cPanel for you, and it will be taken care of immediately. They are available 24&#215;7, so you can get the help you need at any time.<\/p>\n<p><span style=\"color: #ff0000;\">PS.<\/span> Feel free to share this blog on how to Install Redis and Redis PHP on cPanel, post if you liked it by using the social network shortcuts &#8211; you can also leave a comment instead, found under the share buttons.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Redis stands for Remote DIctionary Server and it is a key-value NoSQL database. Almost all languages including PHP have Redis &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Install Redis and Redis PHP on cPanel\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#more-23515\" aria-label=\"Read more about Install Redis and Redis PHP on cPanel\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":23765,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1709,1708,1712],"tags":[46,50,433],"class_list":["post-23515","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-caching","category-control-panels","category-web-frameworks","tag-cpanel","tag-php","tag-redis","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Install Redis and Redis PHP on cPanel<\/title>\n<meta name=\"description\" content=\"In this guide, we will show you how to install Redis server and Redis PHP extension on a cPanel based servers so you can use Redis as a cache backend.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Redis and Redis PHP on cPanel\" \/>\n<meta property=\"og:description\" content=\"Install Redis and Redis PHP on cPanel | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-12T13:00:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:41:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-redis-and-redis-php-on-cpanel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-redis-and-redis-php-on-cpanel\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Install Redis and Redis PHP on cPanel\",\"datePublished\":\"2017-10-12T13:00:49+00:00\",\"dateModified\":\"2022-06-03T08:41:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-redis-and-redis-php-on-cpanel\\\/\"},\"wordCount\":492,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-redis-and-redis-php-on-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/10\\\/Install-Redis-and-Redis-PHP-on-cPanel.jpg\",\"keywords\":[\"cPanel\",\"php\",\"redis\"],\"articleSection\":[\"Caching\",\"Control Panels\",\"Web Frameworks\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-redis-and-redis-php-on-cpanel\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-redis-and-redis-php-on-cpanel\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-redis-and-redis-php-on-cpanel\\\/\",\"name\":\"Install Redis and Redis PHP on cPanel\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-redis-and-redis-php-on-cpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-redis-and-redis-php-on-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/10\\\/Install-Redis-and-Redis-PHP-on-cPanel.jpg\",\"datePublished\":\"2017-10-12T13:00:49+00:00\",\"dateModified\":\"2022-06-03T08:41:57+00:00\",\"description\":\"In this guide, we will show you how to install Redis server and Redis PHP extension on a cPanel based servers so you can use Redis as a cache backend.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-redis-and-redis-php-on-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-redis-and-redis-php-on-cpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-redis-and-redis-php-on-cpanel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/10\\\/Install-Redis-and-Redis-PHP-on-cPanel.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/10\\\/Install-Redis-and-Redis-PHP-on-cPanel.jpg\",\"width\":1200,\"height\":600,\"caption\":\"Install Redis and Redis PHP on cPanel\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-redis-and-redis-php-on-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install Redis and Redis PHP on cPanel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Install Redis and Redis PHP on cPanel","description":"In this guide, we will show you how to install Redis server and Redis PHP extension on a cPanel based servers so you can use Redis as a cache backend.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"Install Redis and Redis PHP on cPanel","og_description":"Install Redis and Redis PHP on cPanel | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2017-10-12T13:00:49+00:00","article_modified_time":"2022-06-03T08:41:57+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Install Redis and Redis PHP on cPanel","datePublished":"2017-10-12T13:00:49+00:00","dateModified":"2022-06-03T08:41:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/"},"wordCount":492,"commentCount":3,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel.jpg","keywords":["cPanel","php","redis"],"articleSection":["Caching","Control Panels","Web Frameworks"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/","url":"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/","name":"Install Redis and Redis PHP on cPanel","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel.jpg","datePublished":"2017-10-12T13:00:49+00:00","dateModified":"2022-06-03T08:41:57+00:00","description":"In this guide, we will show you how to install Redis server and Redis PHP extension on a cPanel based servers so you can use Redis as a cache backend.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Install-Redis-and-Redis-PHP-on-cPanel.jpg","width":1200,"height":600,"caption":"Install Redis and Redis PHP on cPanel"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/install-redis-and-redis-php-on-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install Redis and Redis PHP on cPanel"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/23515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=23515"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/23515\/revisions"}],"predecessor-version":[{"id":41859,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/23515\/revisions\/41859"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/23765"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=23515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=23515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=23515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}