First lets install Eclipse
sudo apt-get install eclipse
Once installed open Eclipse then go to “Help->Install New Software”, from the options “Work with:” chose one, in my case the only one available was “Indigo Update Site – http://download.eclipse.org/releases/indigo/” once selected, click on search an select “PHP Development Tools (PDT) SDK Feature”
I was having some issues with Smarty, when i updated a template i have to reload it twice to see my changes.
After some digging i realized that Zend OPcache was causing it.
So i jut disable Zend OPcache and now is working as it should.
just edit php.ini as root.
sudo nano /etc/php5/apache2/php.ini
Find the line where “opcache.enable=1” is and change it to 0, if it has a “;” remove it and that’s all
; Determines if Zend OPCache is enabled
Then we simple reload apache
sudo /etc/init.d/apache2 restart