Adding PHP memory limit.
Fixing postgres +0 error.