My code, for example, is to write $array=array () $array= ()
Change to correct to open the page normally.
I added error_reporting in front of me (E_error | e_warning | E_parse | E_notice); The same is true for error alerts.
How should I configure it? The environment is a LNMP virtual machine environment.
Reply to discussion (solution)
Set Display_errors=on in PHP.ini
PHP.ini set in Display_errors=on I am here: in the connection. I changed to Display_errors:on now, restarted the Nginx, still did not show
It's not the map, it's underneath.
Display_errors=on
It's not the map, it's underneath.
Display_errors=on Thank you moderator, indeed is below
I modified it for on, and then my error report level was:
error_reporting = E_all & ~e_notice
My code to restart the Nginx service is/usr/local/nginx/sbin/nginx-s reload
Do you still need to do something else? However, the page cannot be opened.
The service nginx restart command will error.
This you can PS AUX | Gerp Nginx See the process number directly kill, and then open?
It's not the map, it's underneath.
Display_errors=on
Service PHP-FPM Restsart
Service Nginx Restart
OK, thanks two bit!
This you can PS AUX | Gerp Nginx See the process number directly kill off, and then open it I installed is LNMP a key installation package, may be helped to write a script, I direct service nginx restart can line