Override PHP variable settings

Fixes #1