![]() ![]() You have successfully installed Redis server and Redis PHP extension on your cPanel VPS opt/cpanel/ea-php71/root/usr/bin/php -m | grep redis Install and Enable the Redis PHP Extension on PHP 7.1 yes | /opt/cpanel/ea-php71/root/usr/bin/pecl install igbinary igbinary-devel redis opt/cpanel/ea-php70/root/usr/bin/php -m | grep redis 13. Install and Enable the Redis PHP Extension on PHP 7.0 yes | /opt/cpanel/ea-php70/root/usr/bin/pecl install igbinary igbinary-devel redis opt/cpanel/ea-php56/root/usr/bin/php -m | grep redis 12. Install and Enable the Redis PHP Extension on PHP 5.6 yes | /opt/cpanel/ea-php56/root/usr/bin/pecl install igbinary igbinary-devel redis opt/cpanel/ea-php55/root/usr/bin/php -m | grep redis 11. Install and Enable the Redis PHP Extension on PHP 5.5 yes | /opt/cpanel/ea-php55/root/usr/bin/pecl install igbinary igbinary-devel redis opt/cpanel/ea-php54/root/usr/bin/php -m | grep redis 10. Install and Enable the Redis PHP Extension on PHP 5.4 yes | /opt/cpanel/ea-php54/root/usr/bin/pecl install igbinary igbinary-devel redis Run the following commands to install and enable the Redis PHP extension on each PHP version you have installed on your server: 9. Install the Redis PHP Extension EasyApache 4ĮasyApache 4 supports multiple versions of PHP so we need to install the Redis PHP extension on each PHP version. Once the build process is completed, verify the installation using the following command: php -m | grep redisĪnd you should see redis, if there is no output, it means that Redis extension is not installed/loaded. mo GET YOUR VPS yes | pecl install igbinary igbinary-devel redis To install the Redis PHP extension issue the following command: Install the Redis PHP Extension EasyApache 3 We will also enable Igbinary support which is a drop in replacement for the standard PHP serializer. Redis PHP extension is not available in EasyApache so we will install the Redis PHP extension using the pecl command. Start the Redis service and enable it to start on boot with the following commands: systemctl restart redis Once the repository is enabled, install the Redis package using Yum: yum install redis Same as with CentOS 6 first install the EPEL repository: yum install epel-release Start the Redis service and enable it to start on boot with the following commands: service redis restartĬhkconfig -level 345 redis on 5. Once the repository is enabled, you can install the redis package using Yum: sudo yum install redis 4. Start and Configure the Redis service To install the EPEL repository please run the following command: rpm -Uvh 3. Redis is not available in the default CentOS repositories, so we need to enable the EPEL repository and install the Redis package from there. Install and Enable the Redis PHP Extension on PHP 7.1 Install and Enable the Redis PHP Extension on PHP 7.0 Install and Enable the Redis PHP Extension on PHP 5.6 ![]() Install and Enable the Redis PHP Extension on PHP 5.5 Install and Enable the Redis PHP Extension on PHP 5.4 Install the Redis PHP Extension EasyApache 4 4. Start and Configure the Redis service. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |