Installing / re-installing and Configuring phpMyAdmin on Ubuntu

phpMyAdmin is a very common and handy tool that most of the developers use. It is available on almost every server.

Installing phpMyAdmin on Ubuntu server is even easier, you just need to

sudo apt-get install phpmyadmin

but what if we accidently skip the configuration screen where phpmyadmin makes modifications to apache?

Dont worry just do the following

Edit Apache’s configuration file (assuming you are using apache2)

sudo nano /etc/apache2/apache2.conf
# better to use the following command instead of the one above
#gksudo gedit /etc/apache2/apache2.conf

Add the following line of code inside apache2.conf:

Include /etc/phpmyadmin/apache.conf

Now restart Apache:

sudo /etc/init.d/apache2 restart

Go to /phpmyadmin/ and login with your mysql username and password.

Cash Deposit Machine (CDM) or Can’t Deposit Machine? Weird experience

My salary account is HBL (I hate this bank) and I use Dubai Islamic Bank’s services which I am very satisfied with. So last night after work, I thought to move balance from HBL to DIB, tried the inter-bank transfer (which should be great if it is working) but invain. So I went straight to DIB Main Bulevard, Guberg branch.

I took out the cash from one ATM and tried to deposit it via DIB’s CDM (Cash Deposit Machine) into my DIB account. Either the machine was acting weird or the time-waste was inevitable. The machine deposited half my cash and reject the other half. I took a look at the other half that was rejected, the bills were clean and new. I could not find anything with the naked eye so I tried again and the machine rejected all the bills again.

Hmm, what could be wrong, I was asking myself. Then I tried again but this time with different counts, some upside down, some backwards and to my surprize all of the cash was deposited. So next time, if your CDM says Can’t deposit, try straightening the bills and submitting them again using different ways, It will hopefully work. It worked for me ;)

Warid Postpaid Issues – had to MNP my cell number

I moved from Warid to Ufone in April, I forgot to mention that. Thanks to MNP the move was smooth and easy.

Now let me tell you why I moved. First of all, there are billing issues in Postpaid. They have two SMS packages

  • Zoom Limited SMS Package offering 750 messages per month and
  • Zoom Unlimited SMS Package offering 7,500 messages per month

When you activate any of these packages (for the first time) the package is charged double. So e.g. you activate Zoom Unlimited and it costs approx Rs. 300 per month so it will be charged twice, once as ACTIVATION CHARGES and second as monthly charges (WTF!!)

Continue reading