502 Bad Gateway error in wordpress background in nginx + php5.2 solution

Source: Internet
Author: User

Only php 5.2.17 + wordpress 3.8.1 under centos 6 will have 502 Bad Gateway, but it is okay to modify libsqlite3.so. 0.8.6 under php 5.3.

The 32-bit modification is as follows:

Mv/usr/lib/libsqlite3.so. 0.8.6/usr/lib/libsqlite3.so. 0.8.6.bak

The 64-bit modification is as follows:

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

After the modification, log on to wordpress and open the update page and plug-in page. The 502 Bad Gateway error does not occur.

This problem has not been solved by the small editor, because the modification of the two packages has been solved.

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.