php5-gd: Depends: libt1-5 (>= 5.1.0)

If you are running an old Ubuntu server and you don’t feel like updating the entire server just because your want to install php5-gd please following the directions below:

Command :

sudo apt-get install php5-gd 

Error:

Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages are BROKEN:
  php5-gd
0 packages upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/37.2kB of archives. After unpacking 193kB will be used.
The following packages have unmet dependencies:
  php5-gd: Depends: libt1-5 (>= 5.1.0) which is a virtual package.
Unable to resolve dependencies!  Giving up...
The following packages are BROKEN:
  php5-gd
0 packages upgraded, 1 newly installed, 0 to remove and 4 not upgraded.

FIX

Add this to your /etc/apt/sources.list:
deb http://ubuntu.mirror.cambrium.nl/ubuntu/ hardy main 
sudo apt-get update
sudo apt-get install php5-gd 
php -m (to verify that php5-gd i installed)
service apache2 restart

Reference:
http://packages.ubuntu.com/hardy/amd64/libt1-5/download

How to Stop DLTK Indexing Eclipse or Zend Studio

How to disable  DLTK  indexing for a particular project or folder in Eclipse or Zend Studio?

DLTK is driving me insane. I had to find a way to disable it before i go nuts.
You will know that you have to disable DLTK if you are experiencing one these symptoms:

Symptoms

1. DLTK start Running on each save, rename, move ...

2. Clean up your projects cause DLTK to run

3. Publishing a folder cause DLTK to run

4. You have very large projects and DLTK keeps running and does not want to stop

The solution is to “EXCLUDE” DLTK from your build path:

RIGHT CLICK ON YOUR PROJECT AND Follow the directions below.


Or you can Configure Buildpath to remove folders based on wildcards