This article focuses on how to profile PHP applications with Tideways XHProf and XHGui. I myself prefer this approach than the old XDebug and Webgrind so most of my recent projects have been utilizing this. Since this is just simply a note, Google is your friend for the mentioned tools. […]
PHP
Today I will mention how to install Jenkins and necessary plugins/tools for doing Continuous Integration. This is just a very first step of using Jenkins for PHP Continuous Integration work. I choose to start with a Virtual Machine with Ubuntu 16 and use LAMP with PHP7 for the web stack. […]
If you are dealing with various cache, you might find that a CLI tools for viewing status and doing management works is a great idea. You will no longer need to restart your PHP-FPM pool for opcode/apc cache invalidation. You also do not need to write a stupid PHP file […]
Recently I often faced problems with MariaDB Galera Cluster, so I decided to give Percona XtraDB Cluster a try. I write here necessary steps to setup a PHP Stack with Percona XtraDB Cluster on CentOS 7. To avoid problems, be sure that SELinux is not enabled in the server. Guide can be found […]
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 […]
There is no excerpt because this is a protected post.
Recently when switching from Apache to Nginx for osTicket 1.8, I found that some functionality does not work properly. For example, when replying to customer’s via SCP, line break character does not display properly. In addition, some ajax-based features are not worked any more. After digging a little bit, I […]
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 […]
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 […]
Git, Laravel and BitBucket might be very popular in open source development world so I will not mention them again here. The purpose of this tutorial is pretty simple: we want to store all our project files into a remote BitBucket repository while can still maintain Laravel updates and other […]