Use "-d" when passing PHP arguments

Previously, PHP arguments were supplied to the PHP binary with the invalid flag "-D". This PR fixes that behaviour.