PHP parse error
-
I have made a staging site but when I try to load it, I get a 500 error in my browser and in the nginx logs I see this:
2018/07/25 22:19:55 [error] 13013#13013: *242956 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected ';', expecting ',' or ')' in /usr/share/wordpress/prostasia-staging/wp-config.php on line 52" while reading response header from upstream, client: 172.69.22.88, server: prost.asia, request: "GET /prostasia-staging/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock:", host: "prost.asia"Line 52 of the wp-config.php file is this:
if (!isset($table_prefix = 'wpstg0_';//)) { $table_prefix = 'wpstg0_';// = 'wp_'; }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘PHP parse error’ is closed to new replies.