Fix #9795 and renamed new configuration parameters for PHP search

I'm not sure I have already commit rights in the main repo, anyway, better for you to check the renamed PHP parameters.

Just to be consistent with other scalars, that are all defines and uppercase.