WordPress Install Failling with PHP Parse error

Hello everyone,

When i start Wordpress + LSCache install on Website management, i’m getting the error above:

Installation failed. Error message: [“PHP Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{’ or ‘$’ in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php on line 18”," [404]"]

I have no clue why this happens… Any tips?

Operating System: CentOS Linux 7 (Core)
Kernel: Linux 3.10.0-1160.92.1.el7.x86_64
Architecture: x86-64

Current Version: 2.3 Build: 4
Current Commit: d32d25fa9acd163e5bcffebd05f0dd565710e964
Latest Version: 2.3
Latest Build: 4
Latest Commit: a2a2bd93a3957bcae0af42e8c5fbf1184cf847cc


I have the same problem any solution???

Install wp-cli from ssh
sudo yum install wp-cli
It works for me

hi @anucyber,

Yes, but the thing is: im using cyberpanel with more than 5 account (customer accounts), and i cannot tell the users to go to their terminal, and use ssh…
Its suppose works, because is a function with GUI.
Thank you anyway for the reply.