Wordpress installation prompts NGINX 502 Bad Gateway error solution

Source: Internet
Author: User


Today, I set up a WORDPRESS site in the newly installed Linode VPS. Who knows that there was an inexplicable 502 Bad Gateway error when step = 2.
20110112200117-156870207 [1]
At the beginning of thought is the concurrency and memory problems, adjusted the php-fpm.ini, also re-compiled php. The problem persists. Okay. Check the Centos logs.
# Less/var/log/messages // view log files in the system.

The most recent errors are found in:

Jan 26 02:09:40 li631-178 kernel: php-cgi [2173]: segfault at 8048 ip route 7fe1_d9fe9c sp route 7fff37421c40 error 4 in libsqlite3.so. 0.8.6 [7fe1_d83000 + 8c000]

It seems to be a problem of memory overflow.
Solution:

# Mv/usr/lib64/libsqlite3.so. 0.8.6/usr/lib64/libsqlite3.so. 0.8.6.bak

// Rename the error file!
Restart the service and solve the problem!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.