Installing and Configuring Lighttpd PHP-FPM and Mariadb on a 512 MB Linux VPS

I have a small 512 MB vps which I am using for my site and I decided to use lighttpd instead of Apache due to it’s less use of resource. Before you start the install please ensure you download and install the repos via this shell script. Versions Centos 6 64 bit Lighttpd Mariadb... Read More »

How to speed up PHP with Opcode cache like APC

How to speed up PHP with Opcode cache like APCWhat is  a Cache? A cache is a temporary storage area  where data can be stored for rapid access. Why Cache PHP? Compiling PHP every time a request comes in is a very resource intensive process and it is better to cache code rather than compile it every time. This not only reduces your  ram... Read More »

How to Install Nginx and PHP-FPM for WordPress via yum

This Configuration is for CentOS 6, it should also work on Centos 5 although I have not tried it. This guide is for those who have basic linux command line knowledge. I use atomic repo, as they have the latest updates, you can use epel, the choice is yours. But if there is any vulnerability... Read More »

PHP search using PostgreSQL

A simple search form to search  the db and display the contents via PHP and PostgreSQL Name the below as index.html   <h2>Search</h2> <form name=”search” method=”post” action=”search.php”> Seach for: <input type=”text” name=”find” /> in <Select NAME=”field”> <Option VALUE=”emailaddress”>emailaddress</option> <Option VALUE=”domainname”>domainname</option> </Select> <input type=”hidden” name=”searching” value=”yes” /> <input type=”submit” name=”search” value=”Search” /> </form> Name the below... Read More »