atitit.php nginx page Blank and return 500 resolution

Source: Internet
Author: User

atitit.php nginx page blank and return to the resolution

1 . 1. Blank question Origin 1

1 . 2. php.ini Open display_err 1

1 . 3. Modify www.conf and restart . Restart PHP-FPM 1

1.1. Blank question Origin

Normal php ok . Error PHP does not display the problem: Local Apache can display errors. Should be the server's nginx problem configuration:

In the process of using Nginx will always encounter the nginx tip of the error, but the specific error where out of the need to run to the backstage to see Error-log, it's not convenient.

1.2. php.ini Open display_err

Author :: ★ (Attilax) >>>    nickname : old Wow's paw   (   full name:: ATTILAX AKBAR AL RAPANUI  Attilax   Baroque   Alpha   Rapa Nui   )   Kanji name: Ayron, Email:[email protected]

reprint Please indicate source: http://www.cnblogs.com/attilax/

1.3. Modifywww.conf , and restart. Restart PHP-FPM

Find/-name "php-fpm.conf"

Php-fpm.conf

Include=/etc/php-fpm.d/*.conf

www.conf /etc/php-fpm.d/ www.conf

Php_flag[display_errors] = On

. Restart PHP-FPM  

Service PHP-FPM Restart

Service PHP-FPM Start

Starting PHP-FPM (via Systemctl): Job for Php-fpm.service failed. See ' systemctl status Php-fpm.service ' and ' journalctl-xn ' for details.

It is php-fpm.conf syntax error, inside. Correction can

Refer to the following information

PHP syntax error,nginx throws a summary of the error - push cool . html

the error prompt to open php-fpm under Nginx . HTML

About Nginx open php-fpm output php error log settings ( resolved ) _ Jade (pooy). html

atitit.php nginx page Blank and return 500 resolution

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.