We can do PHP programming by any text editor, such as vi and nano. However, a Integrated Development Environment (IDE) is good for debugging.
For IDE, I choose EasyEclipse for LAMP and it is not required to install. Download it and double click it to run. However, we should install some server programs and do some configuration before using it.
We should install Apache, MySQL and PHP5.
sudo apt-get install apache2 php5 php5-gd mysql-server libapache2-mod-php5 libapache2-mod-auth-mysql php5-mysql phpmyadmin mysql-admin
Then, set the MySQL root password as prompted.
More Here