我已经下载了带有测试数据的Magento CE 2.1.2,并将zip文件上传到我的服务器并解压缩。我的服务器是Centos 5.1.1,我的PHP是5.4.38(cli)......
我按照Magento设置上的说明在此处设置文件权限:
http://devdocs.magento.com/guides/v2.1/install-gde/install-quick-ref.html#mage-owner-about-group
当我访问www.myurl.com/magento/setup时,我收到此错误:
解析错误:语法错误,意外的'class'(T_CLASS),期待标识符(T_STRING)或变量(T_VARIABLE)或/var/www/vhosts/timpiele.com/httpdocs/magento中的'{'或'$'第411行/vendor/magento/framework/App/Bootstrap.php
当我运行stat -c'%a'magento时,我得到755 ......
我该如何解决这个问题?
答案 0 :(得分:2)
Magento 2.1.2至少需要 PHP 5.6.5 :https://github.com/magento/magento2/blob/2.1.2/composer.json#L11