I have just moved a WordPress instance from a standard cPanel installation, into a custom OpenBSD host. Everything ran smoothly from a data point of view but when I went to test the installation I got a 500 error. Turning on php error logging gave me the information I needed to start debugging the issue.