PHP code example of mage / fpc
1. Go to this page and download the library: Download mage/fpc library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mage / fpc example snippets
#RHEL / CentOS
#Installation of the php-pecl-redis package, from the EPEL repository:
yum install php-pecl-redis
fastcgi_param PHP_VALUE "auto_prepend_file=/var/www/html/magento/app/code/Mage/FPC/FPC.php";