Getting started with nginx on Centos 6


Before getting started with nginx, it is recommended that you update PHP to the latest version.

Create a /etc/yum.repos.d/nginx.repo with the following content:

name=nginx repo

We are going to use php-fpm package to handle PHP fast-cgi.

How to install RHEL EPEL Repository on Centos


Keeping your Linux server up-to-date with the latest packages is no small task. One of the most popular repository for RHEL, Centos and Scientific Linux among others is EPEL, Extra Packages for Enterprise Linux. EPEL is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux.

If you wish to upgrade your PHP, MySQL and HTTP to the latest available binary packages, you may opt to install EPEL and remi repositories on your linux system.

On Centos 6.x:

How to mitigate from Apache Killer?


Apache is the most popular web server being used today. Apache Killer exploit which was released in August 2011, exploits a vulnerability in the Apache software by sending a crafted "Range" HTTP header. Apache Killer attack abuses the HTTP protocol by requesting URL content to be returned in a huge number of small chunks, which leads to hundreds of large memory fetches causing a server to run out of memory and crash. This vulnerability identified as CVE-2011-3192 was fixed in httpd-2.2.21.

ZF2 Example: Using headScript, inlineScript, headTitle and headMeta Helpers in the view/controller


ZF2 provides HeadScript and InlineScript Helpers to inject <script> elements in the template typically located inside the <head> tag, or at the very bottom of the closing </body> tag. To inject Title, Meta Keywords, Meta Description, headScript, and inlineScript in the view:

[SOLVED] Google has disabled use of the Maps API for this application


With Google API v2 being deprecated, the app that was working perfectly before started to spit errors on the user's screen like the one showing below:

Getting started with Doctrine 2 in ZF2


Using Doctrine as an ORM to persist your data significantly lowers your overhead in managing your database. However, if you're just getting started with Doctrine, you'll have to invest in moderate time to overcome learning curve. Here is some of not so obvious tricks you'll have to learn as a beginner to utilize Doctring.

Q. How do you install ZF2 doctrine modules?

Getting started with composer (composer.phar)


I am kicking off a new PHP project with the Zend Framework 2 (ZF2), and chose to use Doctrine as the persistence layer with ORM capabilities. Knowing that I need two Zend modules for Doctrine support, I've cloned the two modules (DoctrineModule and DoctrineORMModule) from GitHub to enable doctrine support in my ZF2 project. Oops, just installing those two Zend modules from GitHub do not make doctrine work! What am I doing wrong? Do I need a core Doctrine library from installed in addition to those two modules in order to make this work in ZF2?

SuiteCloud Developer Tools


I've had a chance to listen in on condensed version of webinar that discusses developer tools for the SuiteCloud platform. I have personally worked in Netsuite platform for about a year and have worked with SuiteTalk and SuiteScript development tools to integrate a standalone ecommerce application into Netsuite. Although I do have the administrative privileges, I have not thoroughly explore the available development tools that are offered by Netsuite.

How do you customize Google Custom Search Engine (CSE)?


Have you tried to customize the Google CSE search box to fit your website theme, and having difficulty implementing it? You're not alone. I've browsed Google CSE documentation for some time, but this information is buried under the hood and took me a while to figure this out. This is a 2-page Search & Results page design. You'll style the form element how ever you wish to design.

Search Box:

MySQL Character Set and Collation


MySQL documentation states the following in respect to "character set" and "collation" of the data storage in the database.


Subscribe to Web Traffic Exchange RSS