Hi, I am following the migration instruction to migrate from 7.1 to 8.x but when i run
./bin/console suitecrm:app:setup-legacy-migration
command i get following error:
PHP Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{’ or ‘$’ in /var/www/vhosts/rotografix.com/testcrm.rotografix.com/crm8/bin/console on line 17
My mistake, that character was added by me by mistake. Sorry for confusion.
So I am getting the error when I run this command from suitecrm migration documentation:
Update.
I successfully updated PHP to version 8.2 on my CentOS 7 server.
You can find detailed instruction for Fedora, Red Hat, CentOS, and other clones on this page:
Eh, I was like if I have to upgrade why not all the way. And as I understand 8.0 is already legacy one just for security, everyone suggesting 8.2 as stable version.
What now, to deinstall 8.2? Or to w8 for new updated version of SuiteCRM?
You can have multiple PHP versions in your system, and then select one (with a2enmod, if it’s Apache) for the web server to use. Just look online for instructions.
Yes I have all the modules installed, problem is PHP 8.2 that I have now on server.
I read the roadmap, plan is to switch SuiteCRM completely to new PHP 8.2 sometimes in March.
I’ll probably need to deinstall php and instal up to version 8.0 or wait till march.