Bye bye Windows Phone, Hello iPhone!!

I always hope that Microsoft can do better than this but it looks like I hope too much. Even until now, Microsoft Windows Phone 7.5 or what Microsoft calls "Mango" as a codename can't really even compare to iPhone in just a very basic function.

At the time iPhone first released in 2007, I thought that iPhone will not success because of many things. Some thing like

Hostbill - an uncertainty in Billing software for online businesses?

If you come here to read about how Hostbill software works, is it good?  Don't waste your time. I'm not going to say anything about it. I don't have any experience about it until now. However, I just wrote about how I deal with Hostbill and end up with nothing.

Fix the Problem with $_SERVER["SCRIPT_FILENAME"] when using Apache + PHP-FPM + mod_fastcgi

I was trying to run Boost module with Drupal on one of my website and I got the problem that Boost doesn't work as it should be no matter what I did. I don't have this problem when using [NginX + PHP-FPM] or [Apache + mod_fcgid]. So, I checked error log and found below :

Memcached Multiple Instances Startup Script (init.d) on CentOS 5.6 - 64 bits

Category:

I just need Memcached to start automatically when reboot so that I don't have to wait to log into the server to do that every time I restart my server. The problem here is that I didn't install Memcached using YUM. I compiled Memcached it myself. So, there is no startup script for me to do it. Also, from what I have read, init.d startup script comes with YUM only support one instance of Memcached. In my case, I need to run multiple instances of Memcached. So, I searched for the script and below script is work for me :

1. Create Script in /etc/init.d/memcached

DirectAdmin 1.391 : pcfg_openfile: unable to check htaccess file, ensure it is readable

Category:

Today, I got a problem with one of my website. Suddenly, I could access my website using Nginx but all themes were gone. I, then, switched back to Apache. It became worse. I can't access my website at all. The error when access my website using Apache is below :

Change Owner of Symlink in Linux

Category:

When you use chown to change ownership of a file or directory, it will work but with Symlink (Created by using ln command), you can't do that. When you do it, it will fail and you may not know that since there is no error message or anything to let you know. So, to change ownership for Symlink, you need to use option -h. Below is an example :

Server monitoring using Munin in CentOS 5.6 + DirectAdmin

1. Download RPMForge Package. Check your system with uname -a command to get the suitable package. Below is the current one I got :

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm

wget replacement in MAC OS X Server

Category:

I have a MAC OS X Server and would like to be able to use "wget" command to download some file using Terminal. However, wget doesn't come with it. So, I checked on Google and found an article about using Curl as a replacement for wget. What you have to do is run command below in Terminal :

echo 'alias wget="curl -O"' >> ~/.bash_profile

Then, log out and login again. Now, you can use "wget" command to download file as you normally do. For example, I ran

Drupal 6 + Ubercart 2.4 : Display all orders in Order History

Our online store doesn't have real time stock online due to integrated software with POS doesn't finish yet. So, we allow customer to place an order, then, contact them back if we really have those items in stock. We also keep those items waiting for them to pay. The problem is that, many times, customer that placed an order with us just don't want to pay at that time. They ignore it until we cancel that order. Then, they place another order a week later or so. That would be ok if it happens a couple times.

Pages