Switch to using sudo -E -H and pass --php to run-tests.sh.
run-tests has a bug in how it locates php binary when called with sudo We pass $(which php) to use the current php interpreter wherever it is located.
Closes #3475974
run-tests has a bug in how it locates php binary when called with sudo We pass $(which php) to use the current php interpreter wherever it is located.
Closes #3475974