Report this

What is the reason for this report?

Website Migration from APACHE to NGINX : HTTP ERROR 500

Posted on February 22, 2017

I have an old website running well on APACHE. I migrated it to NGINX on ubuntu 16.04, by transferring files and database. However I am getting http Error 500. Website : fbclixs.com

Please tell me if I am missing something.



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.

Thanks for the reply…I looked into the above file but didn’t find any error logs related to this website(fbclixs.com)…However, there are some error logs for other unrelated website(talkingsparrow.com) :

2017/02/23 11:12:53 [error] 31220#31220: *57434 FastCGI sent in stderr: "PHP message: PHP Notice: Use of undefined constant CURLOPT_RETURNTRANSFER - assumed ‘CURLOPT_RETURNTRANSFER’ in /var/www/talkingsparrow.com/html/wp-content/plugins/hueman-addons/assets/front/js/sharrre.php on line 38

Why this website is not logging any error, I couldn’t figure out.

Unless you changed the location, then have a look in /var/log/nginx/error.log which will give you way more information on the problem. Just post the latest lines here if you don’t know what to do.

I normally troubleshoot 500 errors by: checking .htaccess file, then checking RAM allocation on server, deactivating all plugins then turning them on 1 by 1, and then as a last resort I wipe and do a vanilla install of Wordpress to see if a basic setup works. Normally it’s .htaccess or RAM allocation, though.

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.