There is no excerpt because this is a protected post.
Technology
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 short blog entry will cover how to install nodejs and npm for NodeJS on CentOS. First, install epel repository: [bash]yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm[/bash] For CentOS 7, use [bash]yum install http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpm[/bash] Then, install nodejs and npm via yum: [bash]yum install nodejs npm[/bash] Finally, go to node project root directory and run: [bash]npm […]
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 […]
GitHub is a well-known git repository, but one limit is that it is not free for private git repository (cost $7/month this posting time). It means that your source code of an important project will also be available for your competitors one day. So this tutorial guides how to setup a […]
Remember when you wanted to associate an event handler to a mouseclick, you would assign it to the element’s onclick event, as in mywidget.onclick = myhandler;. This became problematic when another method also wanted to get in on the click action since you could only assign one function at a […]
If you are a PHP Developer, you might find out that different development environments often create too many problems to the development work. There might be bugs which was not appeared in Windows machines but in Linux. There are also many bugs relating to different PHP versions, PHP modules, web […]
A great news for the PHP community is that Zend Optimizer+ was became open-source, so it is built-in from PHP 5.5. This tutorial will guide how to install Zend Opcache in PHP 5.5 and will mention a little bit about its performance. What is Optimizer+? According to PHP OptimizerPlus RFC, Optimizer+ […]