• I’m installing WordPress. I’ve uploaded all the files via Filezilla. When I try to run install.php, I get the following error:

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in *****/wp-config.php on line 28

    The error points to a line in the config file that contains the DB Host info. The actual line in the config file is:

    define(‘DB_HOST’, ‘localhost’);

    To me, it appears that the code is correct.

    Does anyone have any idea as to why this is happening?

Viewing 1 replies (of 1 total)
  • When you ran the install program did the program create the wp-config.php or did you create it manually as this is odd if you getting Parse error: syntax error, unexpected

Viewing 1 replies (of 1 total)

The topic ‘Getting a syntax error when trying to run install.php – please help’ is closed to new replies.