Report this

What is the reason for this report?

Defined wp-config Url to solve redirection now Server unable to handle request

Posted on May 2, 2018

after changing url in wp admin to https got into indirect loop to solve that i defined wp-config urls and now server error

this is the log files of nginx FastCGI sent in stderr: PHP message: PHP Parse error: syntax error, unexpected :, expecting , or ) in /var/www/html/ wp-config.php on line 20 while reading response header from upstream, client: 172. 68.146.45, server: _, request: GET / HTTP/1.1, upstream: fastcgi://unix:/var/run /php/php7.0-fpm.sock



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

What is on line 20 of wp-config.php?

This error indicates a syntax error which should be easily solvable by viewing the line in question. If you can include a couple lines before and after that would be helpful in case context comes into play in the error.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.