If you landed here you probably faced the following error on Hostgator SSH:
Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{‘ or ‘$’ in /home2/larbizar/cloud.larbizard.com/console.php on line 93
How to convert Database from SQLite to MySQL on Hostgator.
First, connect with SSH to your Hostgator Jail SSH:ssh -p 2222 cpanelusr@ip.add.re.ss
Source: https://support.hostgator.com/articles/how-do-i-get-and-use-ssh-access#connect Secondly, navigate to the path where is your NextCloud installation:
And execute the following command:
/opt/php70/bin/php occ db:convert-type –all-apps mysql dbusername 127.0.0.1 dbname
[We specify the full path to PHP7 ]
Source: https://stackoverflow.com/questions/51716483/hostgator-update-php-version-to-7-1