March 2011

You are browsing the site archives by month.

Building PHP Webserver on Nginx with PHP CGI

Doesn’t like the Apache webserver, nginx didn’t have the auto-configuration feature from PHP and library loading. The way to make nginx be a PHP webserver is passing the request to PHP CGI. How?

The first step must be installing the nginx and php5 package. For this post i’m using Ubuntu 10.04 LTS.

apt-get update nginx
apt-get update php5

Check your nginx installation with start the service:

service nginx restart
/etc/init.d/nginx restart

Now, if the nginx working, let’s connect it to the PHP CGI. First, run the PHP CGI so that the PHP listen at 127.0.0.1 with port 9000.

/usr/bin/php-cgi -b 127.0.0.1:9000 &

Read More →

Renewing Driver License at SIM Corner Tunjungan Plaza

Today i get my driver license or also known as SIM in Indonesian renewed. Renewing driver license today is very easy because there are some SIM corner which is located in a malls or shopping centers. One of them are in Tunjungan Plaza Surabaya, located at first building of Tunjungan Plaza (Tunjungan Plaza I / TP I) and can be seen from parking entrance, below the McDonald. SIM Corner in Tunjungan Plaza Surabaya open from 10 a.m till night, so i think this is the best place to get the driver license renewed. Don’t forget to bring the original and a copy of driver license which want to be renewed and the original and a copy of ID card (KTP).

First, i must give the driver license and ID card (with a copy of them) and bought the registration form and for me who want to renew both of A (car) and C (motorbike) driver license must pay Rp. 90.000 ($10) then go to the doctor for health examination. This step is annoying for me because there is no health examination at all, the health certificate was written without any test. Next, Fill the registration form then buy the bank voucher, the cost for A driver license renewal is Rp. 80.000 ($9) and the cost for C driver license renewal is Rp. 75.000 ($8) after this step, the registration step is done, just give the registration form to officer on registration desk.

Read More →