Installing Apache + PHP + MySQL + MSSQL Extension on CentOS5

This is a short guide that will show you how to install Apache, PHP, MySQL, and MSSQL Extensions on a CentOS5 Server or VPS.  All “quote” blocks are to be executed in SSH (shell) as root.

Getting the server ready to build applications from source:

Check for any RPM installations of the applications.

rpm -qa | grep -i apache
rpm -qa | grep -i httpd
rpm -qa | grep -i php
rpm -qa | grep -i mysql

Remove any RPM installations found with the “rpm -e” command:

rpm -e application_name_here

Install some base requirements to compile and install the software. Continue reading


LiteSpeed Licensing – 39 Months To Make Owned Worth It???


I was doing the math on the licensing structure (we’ll go with the 1-CPU Enterprise license as this example).

I will start by saying that I realize it is in LiteSpeed Technologies’ best interests for you to lease your license from them as this gives them the most profit/income etc… where as an Owned license is generally seen as a larger up-front investment to reduce long-term costs.

I am also aware that I am comparing monthly lease to a yearly ownership as I am wanting to compare the extremes (smallest up-front investment vs the largest).

Owned licenses are an investment into LiteSpeed Web Server/Technologies and I always look at investments based upon how well they will return and how long until they return. A 39 month wait until the investment begins to return is a tad too long in my opinion and as you read on you will see the details of my analysis of their licensing program. Continue reading


LiteSpeed4.0 vs Apache2.2 In My Eyes

LSvsAPI will start this post by saying that I have used Apache for more than 2 years in production environments and I am quite experienced at optimizing Apache to accomplish the goal at hand should it be handling thousands of connections simultaneously to serving dynamic web sites quickly and efficiently while minimizing the memory footprint.

I have in the past fought tooth-and-nail for Apache’s ability to match LiteSpeed Web Server’s speed when serving web sites.  Apache can be configured to be nearly as fast if not just as fast as LiteSpeed but the problem is that Apache requires in my own personal testing nearly two times as much memory and FastCGI to come close to LiteSpeed comes out of the box.  LiteSpeed claims to serve static content up to 9 times faster than Apache and PHP up to 50% faster.  While I won’t go into depth as to which one can do what faster, I will go into why I chose to move my company from Apache to LiteSpeed and what benefits we have seen.  If you want to see benchmarks that compare LiteSpeed and Apache I recommend you search Google. Continue reading