How to Upgrade PHP to 5.2 in CentOS

Developing a Drupal community site has been really good for a while until I needed to search a module to integrate Facebook Connect with it. I found this module specifically for that. Unfortunately, it requires PHP version 5.2, but the one on the Godaddy VPS (which is by default a CentOS flavor) is 5.1 I think. I needed to upgrade the PHP version to 5.2, and the best possible way is to install the latest rpm for CentOS and do a yum update. Here were the steps I did:

Read the rest of this entry »

How to optimize GoDaddy Virtual Private Server – Kill Tomcat & Simple Control Panel

While searching for some optimization tips for Virtual Private Servers, I checked out this post which claimed that Godaddy (ahem) VPS sucked BUT offering a solution to those who were on the same boat (in this case, I).  Luckily, I tried out his solution and it has proven to speed up the Godaddy VPS.

To give an overview of our setup, we have a few (like 20 ?) websites hosted on the GoDaddy server and its occasionally bugging down. One optimization I did was to kill some processes that are not needed most of the time which takes up a few MBs of RAM from the server.

So here is the solution that I implemented on the said VPS as suggested by Colin McNamara – basically to stop the Apache Tomcat and Godaddy Simple Control Panel, which are used very rarely. But of course, if you need to use the Simple Control Panel, you can always start it up again then turn it off when you are done.

Here are the steps:

Read the rest of this entry »

Prestashop: Remove Default Shipping Fee Being Added To Total Price at Shopping Cart

If you’ve been developing e-commerce websites with Prestashop, one main problem that has not been solved in the latest release (Prestashop 1.1) is that the default shipping is immediately added when checking out at the shopping cart. This poses a problem when there are more than one option for shipping methods, and their prices differ from one another. Here is a very simple hack to prevent the default shipping fee from being added to the total price at the Shopping Cart summary page without the need to modify any code:


  1. Read the rest of this entry »

3 Ways To Easily Get Full Screenshot of A Website (Firefox Add-ons)

Making full screenshots of websites have been a common task for web designers or developers, because sometimes the websites aren’t published yet and your clients want to see the full view of your design. Good ‘ol Firefox addon developers have created easy to use addons for this purpose, and even more. Lets take a look at 3 Firefox addons we can use to get screenshots of websites:

Read the rest of this entry »

How to Make XAMPP work on Windows 7

If you are running into problems making XAMPP work with Windows 7, try installing it on a different partition (or other physical hard drive if available) where Windows 7 is installed. For me, this worked. I have my Windows 7 installed on drive C while my XAMPP installation is on drive D.