Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. sudo apt-get install php7.1 php7.1-imap php7.1-xml php7.1-dom php7.1-intl
  2.  
  3. sudo update-alternatives --set php /usr/bin/php7.1
  4.  
  5. php -f bin/magento cache:enable
  6.  
  7. php -f bin/magento cache:flush
  8.  
  9. sudo apt-get update
  10. sudo apt-get install build-essential tcl8.5
  11. sudo apt-get install make
  12. wget http://download.redis.io/redis-stable.tar.gz
  13. tar xvzf redis-stable.tar.gz
  14. cd redis-stable
  15. make
  16. cd utils/
  17. sudo ./install_server.sh
  18.  
  19. 'cache' =>
  20. array (
  21. 'frontend' =>
  22. array (
  23. 'default' =>
  24. array (
  25. 'backend' => 'Cm_Cache_Backend_Redis',
  26. 'backend_options' =>
  27. array (
  28. 'server' => '127.0.0.1',
  29. 'database' => '0',
  30. 'port' => '6379',
  31. ),
  32. ),
  33. 'page_cache' =>
  34. array (
  35. 'backend' => 'Cm_Cache_Backend_Redis',
  36. 'backend_options' =>
  37. array (
  38. 'server' => '127.0.0.1',
  39. 'port' => '6379',
  40. 'database' => '1',
  41. 'compress_data' => '0',
  42. ),
  43. ),
  44. ),
  45. ),
  46.  
  47. apt-get install php7.1-fpm
  48. a2enmod proxy_fcgi setenvif
  49. a2enconf php7.1-fpm
  50. sudo service php7.1-fpm restart
  51. sudo service apache2 restart
  52.  
  53. opcache.enable=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement