Code
Install, Configure & Optimise MySQL on Debian
Step 1 : Adding the Dotdeb repository You can skip this step if you have already added the Dotdeb repository while installing NGINX and PHP-FPM on your Debian Squeeze Server. We need to grab the latest version of MySQL to benefit from all new updates and bug fixes. Read this article for information on adding…
Install, Configure & Optimise PHP5 with PHP5-FPM
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites. Source : PHP-FPM Website PHP-FPM is far better than the standard mod_php implementation of PHP and also easier to implement that spawn-fcgi. PHP-FPM works like an application that loads and kills PHP…
Install, Configure & Optimise NGINX on Debian Squeeze
nginx (pronounced “engine-x”) is a Web server and a reverse proxy server for HTTP, SMTP, POP3 and IMAP protocols, with a strong focus on high concurrency, performance and low memory usage. According to BuiltWith, it is used on 9.92% of the top 1 million websites, and its growth within the top 10k, 100k and 1…
How to Add the Dotdeb Repository to Debian Squeeze
Dotdeb is a repository containing packages to turn your Debian boxes into powerful, stable and up-to-date LAMP servers. This tutorial shows you how to add the Dotdeb repository to Debian Squeeze based Linux servers.
How to Launch a New Rackspace Cloud Server Instance
In this tutorial I will demonstrate how to setup a Rackspace Cloud Server instance. The intended use of this sever is to host a low traffic WordPress website. All settings and configuration detailed in this tutorial are tailored for a 256MB Rackspace Cloud Server slice.
PHP : Convert or Cast Array to Object & Object to Array
I love PHP Objects. Given an option of returning any data as an Array or Object, I would go for Objects. PHP Objects are clean and easy to write. Now to the conversion (casting) of a PHP Array into a PHP Object.
Codeigniter Country Drop Down List Form Helper
Firstly, I create a helper and name it as MY_form_helper.php. This file will go into the application/helpers directory. I have extended the Form Helper as I will be using the country drop down select box in my forms.