Add WordPress debug flag for dev environments.
Set default encoding to en_US.
Create debug log with correct permissions.