Community

Error to install WordPress

Fa
Fabio #1

Hi.
Error to install WordPress cyberpanel

Instalação falhou. Mensagem de erro: [“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]"]

cr
craig77 #3

Same with me…

i have try to run php wp-cli.phar --info

and this is what i get Could not open input file: wp-cli.phar

How to fix this?

An
Anubis #4

I fix this by installing wp-cli (I’m using CentOS)
yum install wp-cli

Sign in to reply