Category Archives: Nginx

The First Phalcon App

Install Phalcon on Linux

Create the extension

Add the extension to php.ini

Restart php-fpm

Install Phalcon Developer tools

create composer.json

edit composer.json

install via composer

Create a project skeleton

Edit Nginx config

Then Configure the custom routing

Install WordPress with Nginx on Ubuntu

This documents covers how to install WordPress with Nginx on Ubuntu.

WordPress is an open source web software used to create website based on PHP and MySQL. WordPress is used by more than 22.0% of the top 10 million websites as of August 2013, according to Usage of content management systems for websites.

nginx (engine x) is an open source reverse proxy server for HTTP mail, written by Igor Sysoev. It was used by 21.5% of the top 1 million websites, 29% of the top 100,000 websites, and by 38.5% of the top 1,000 websites according to Usage of web servers broken down by ranking. Continue reading

Building PHP with PHP-FPM for Nginx from Sources on Ubuntu

This documentation is going to tell you how to install and configure PHP with PHP-FPM for a Nginx server from sources on Ubuntu.

1. Install gcc and make tools.

2. Building Nginx from source on Ubuntu

3. Download and extract PHP source codes.
Download page: http://www.php.net/downloads.php

4. Configure and make install PHP

type “./configure –help” to see all the supported parameters.

Continue reading