I have a php app that's been working for months. Then all of a sudden it starts to render Internal Server 500 errors when encountering undefined variables in code. I had to use isset() to check the variables first.1 handle undefined new variables.
I also found that the app server is installed with two versions of PHP - 7.0 and 7.1. There are two handlers mapped to *.php files. When I run phpinfo(), it's version 7.1 info displays. I wonder if there is any differences between how version 7.0 and 7.
Any ideas? Many thanks.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 462 |
Nodes: | 16 (2 / 14) |
Uptime: | 80:21:51 |
Calls: | 9,374 |
Calls today: | 1 |
Files: | 13,552 |
Messages: | 6,089,012 |