Is it time for PHP7?

As starting developed from beginning of 2014, PHP7 (or PHP-NG) is the most expected release from the time I started working on PHP (version 3.x) due to its major improvement on performance for the native build. As recent testing result on Reddit, it shown that there was only 1 fail for […]

Linux, Nginx, MySQL, PHP – LEMP Stack for Laravel on Ubuntu

This quick tutorial will guide to install LEMP stack for Laravel on Ubuntu OS. Install PHP Install necessary php mods: [bash]apt-get install nginx php5-fpm php5-cli php5-mcrypt php5-json php5-dev php-pear git[/bash] Enable mcrypt: [bash]ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available php5enmod mcrypt[/bash] Modify /etc/php5/fpm/php.ini and change cgi.fix_pathinfo to 0: [bash]cgi.fix_pathinfo=0[/bash] Install opcache: [bash]pecl install […]

Setting up Nginx, HHVM, and Percona for Laravel

HHVM is an open-source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining the development flexibility that PHP provides. This tutorial guides how to set up Nginx, HHVM, and Percona for Laravel Projects on Ubuntu. First, we need to update system […]