How to Upgrade PHP to 5.2 in CentOS
Apr 10, 2010 Drupal, Work, web development
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:
Tags: Godaddy VPS, MCRYPT, MHASH, upgrade php, web development
How to optimize GoDaddy Virtual Private Server – Kill Tomcat & Simple Control Panel
Mar 16, 2010 Server Administration, web development
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 »
How to Install/Recompile MCRYPT in PHP (CentOS VPS)
Jan 17, 2010 Work, web development
I’m starting to develop sites with the Interspire Shopping Cart system, which I think is totally way better than Prestashop. I suggest people who want a better system than Prestashop to checkout the Interspire Shopping Cart, its worth every penny.
So I’m setting it up for our company in a VPS hosting, and it requires the PHP installation to be compiled with MCRYPT package. Specifically, this is needed for the manual credit card processing module. And it seems that the Godaddy VPS support is NOT willing to support (ironic) so I had to deal with the challenge myself. I found this instructions from NotesBit.com on how to recompile PHP with MCRYPT support. Here are the steps I followed – it was actually easier than I thought:
Read the rest of this entry »
Tags: Godaddy VPS, MCRYPT
