使用Cake PHP时Aptana中的语法错误

时间:2016-11-09 01:07:31

标签: syntax-error cakephp-3.0 aptana3

我已在 Mac 上安装 Aptana Studio 3 ,并希望使用 CakePHP CakePHP(版本:3.3.6)的安装成功,但我在 Aptana 中遇到语法错误。

我项目的 PHP 版本 Aptana 是" PHP 5.4.x ",最高版本是什么我可以在Project / Properties / PHP Development中选择 - >兼容性,PHP版本。

根据Cake的安装手册,需要PHP 5.5.9或更高版本(http://book.cakephp.org/3.0/en/installation.html)。

如何更新我的Aptana Studio以使用所需的PHP版本?或者是否存在语法错误的另一个原因?

e.g。 AppController.php.ctp中的语法错误:

enter image description here

enter image description here

我使用的是Aptana版本:3.6.1.201410201044

0 个答案:

没有答案