I have a project that explicitly needs PHP 5.4.x compatibility, so I right click on my project and go to Properties. Then I click the "PHP Development" menu on the left, and select "PHP 5.4.x" from the dropdown. It works fine until I restart Aptana--then it goes back to "PHP 5.3.x" which I guess is the default. Is this a bug in Aptana? How do I get the version to stick even when I restart?
The only temporary solution I found (in Aptana build 3.6.0.201407100658) is setting the PHP 5.4.x version from Project->Properties from the opened file. You just can't close Aptana or the file but can come handy when working on few important files.
update: You can add project_path/.settings/com.aptana.editor.php.prefs file that reads:
eclipse.preferences.version=1
phpVersion=php5.4
In my case, this helped.
It seems this is a serious bug in Aptana. Just like our friend Viktor Sulak said: edit the file .settings/com.aptana.editor.php.prefs,
But, if your workpsace does not have this file "com.aptana.editor.php.prefs", simply create it with the content:
eclipse.preferences.version = 1
phpversion = php5.4
and everything gonna be all right!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With