Linux Running CentOS Using Apache Web Server with MySQL and PHP Setup

Web Server Tips and Tweaks

Upgrading PHP and MySQL on your server

Virtual and dedicated servers need to be tweaked to run properly and use the resources that you have purchased with your virtual or dedicated server to their maximum potential.

Improper configuration of your web server, MySQL database, and PHP can have devastating effects on the performance of your web pages on the Internet. We will address many of these settings that will increase the speed and performance of your web server.

Get at Least Two Gigs of RAM

First and most important before you even order your virtual or dedicated server make sure you are getting at least 2 gigs of RAM. No matter what you have running on it you most likely, from time to time, end up needing more than one gig of RAM. Most hosting companies don't allow swapping memory between RAM and hard disk on Virtual server accounts so when you exceed you RAM allotment your server will shut down.

By having at least 2 gigs of RAM your server will run fine under most conditions. Offering just one gig of RAM is a joke, they know you will have to upgrade to 2 gigs.

Memory Tips for Godaddy Servers with Simple Control Panel

Godaddy's Simple Control Panel uses almost half a gig of memory. Turning it off when you're not doing something to your server will give you that memory for use when your server needs it.

Turning Godaddy's Simple Control Panel off and on is very easy, just log into your server as root using the su - command via ssh using PuTTY and issue the following commands:

/etc/init.d/turbopanel stop

/etc/init.d/tomcat55 stop

This will shut down Godaddy's Simple Control Panel along with tomcat55. This will give you a few hundred megs of memory right off the bat.

To start them up again when you need them just issue these commands in this order:

/etc/init.d/tomcat55 start

/etc/init.d/turbopanel start

You will now have the use of your control panel again.

Links to Related Sites