I’ve installed and configured PHPBrew to get PHP7 installed in my workspace. The only problem is that it only seems to be available in the CLI but not to Apache, restarting Apache doesn’t help and it still reports PHP 5+.

I’ve seen some posts elsewhere about installing with the apxs2 variant but that fails with “Exception: apxs binary is not executable”.

I’ve checked my previously set up workspaces as I’ve installed PHP7 the same way but they also have the same issue, PHP7 is available to the CLI only and not Apache.