Installation issues

I am having issues installing the data migration lite tool, upon entering the first command(php -f bin/magento module:enable --clear-static-content Ubertheme_Ubdatamigration) into terminal(I use WINCP), I get the error message :
<br />
<b>Parse error</b>:  syntax error, unexpected ‘[‘, expecting ‘)’ in <b>/home/c3dplast/public_html/beta/bin/magento</b> on line <b>21</b><br />
Any help would be greatly apreciated. The folder is set to php 7 and doing php -v reveals :
PHP 5.3.29 (cgi-fcgi) (built: Jun  1 2015 10:21:12)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.4.0, Copyright (c) 2002-2013, by ionCube Ltd., and
    with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
My magento version is 2.1 stock, I have changed absolutely nothing since installation yet.

1 answer

Profile photo of Mall Staff 184060.00 $tone July 14, 2016

Hi Ernestas Lobacevskis,
You should contact to system admin or hosting provider to re-setting to up PHP version for CLI in your server. It still is PHP 5.3.29 now.
Let’s follow this:


Please login or Register to Submit Answer

Written By