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