How to use app/console command line on shared servers?
When I try to flush de cache for example with:
app/console cache:clear -e prod;
I keep getting this kind of errors:
PHP Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) in /home/clients/f61b2e8462ca91d597e79838efafc0d1/krown/vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php on line 62
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) in /home/clients/f61b2e8462ca91d597e79838efafc0d1/krown/vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php on line 62
[Symfony\Component\Debug\Exception\FatalErrorException]
Parse Error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING)
In my dedicated server I dont' have this kind of error. The same PHP version (7.1) is installed in both servers.