Nginx 500 error causes some database backup program (phpmyadmin/Empire backup king) open blank

Source: Internet
Author: User
Tags fpm parse error phpmyadmin

PHP Version 5.4

Nginx 1.62


Nginx Error:

2015/04/07 05:50:43 [ERROR] 1788#0: *413 FastCGI sent in stderr: "PHP message:php Parse error:syntax error, unexpected E nd of file in/data/bei123/class/functions.php on line 1246″while reading response headers from upstream, client:1x2.1x3. 1X7.1X7, server:xxx.xxx.8x.1x9, Request: "Get/http/1.1″, Upstream:" Fastcgi://127.0.0.1:9000″, Host: "1x2.1x2.x5.1x9″


Workaround:

Open the short label option in php.ini

Short_open_tag=off

Change into

Short_open_tag=on

Then restart PHP-FPM

PS Axu |grep PHP-FPM View SS The number of the second column of that item is the process ID


KILL-USR2 Process ID

To restart PHP-FPM


Nginx 500 error causes some database backup program (phpmyadmin/Empire backup king) open blank

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.