Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

eZ Blog:
How to optimize performance of the LAMP stack with eZ (Part 1)
Mar 03, 2016 @ 11:43:51

On the eZ blog there's a new post, the first part of a series, showing how to optimize the performance of your LAMP stack with the help of some tuning on the server and software levels.

Nowadays, a website is not only a simple HTML page. Your visitors expect dynamic, personalized information fast and you need a scalable way to deliver content as quickly as possible. This, of course, puts significant pressure on page loads and response time. In this series of posts, we’ll explore eZ’s system architecture and provide recommendations on how you can optimize caching and decrease response time with eZ software.

They then talk about the various pieces of software that make up a typical environment and some tips on optimizing them:

  • Varnish
  • Apache
  • MySQL and MariaDB

Each includes the configuration changes and setup that's helped eZ get the most out of their stack and links to other tools to help you evaluate the performance differences.

tagged: optimize performance lamp stack series part1 varnish apache mysql mariadb

Link: http://ez.no/Blog/How-to-optimize-performance-of-the-LAMP-stack-with-eZ-Part-1

Setup Nginx + php-FPM + apc + MariaDB on Debian 7 - The perfect LEMP server
Aug 09, 2013 @ 11:58:39

On the BinaryTides.com site today there's a tutorial they've posted walking you through the full install process to get Nginx, PHP-FPM (with APC) and MariaDb working together on Debian, complete with configuration changes and all the commands you'll need.

Debian is a great choice for setting up linux webservers. According to current stats it is the most popular server OS followed closely by centos. I am a great fan of the apt/dpkg/gdebi commands, which make it so easy to install and update packages on the system. To setup a complete functional php webserver, you need to install a couple of extra things which include a webserver and a database. In this post we shall be setting up nginx, php, php-fpm, apc and maridb.

The tutorial is broken up into three main steps, each with clarification of what's involved:

  • Install Nginx on Debian
  • Install php and php-fpm
  • Install MariaDB on Debian
tagged: lemp server debian phpfpm mariadb apc

Link: http://www.binarytides.com/install-nginx-php-fpm-mariadb-debian