[CentOS] Changing command line version of php for apache

Sun Feb 14 02:43:01 UTC 2021
Jonathan Billings <billings at negate.org>

On Feb 13, 2021, at 17:43, H <agents at meddatainc.com> wrote:
> 
> But apache does not have a shell where I issue that command? And, a change needs to survive a reboot.

Perhaps it might help if you explained how the Apache user is running the commands?  Cron job?  Systemd service?  The “scl” commands are used to run the alternative PHP, so how you run it is important.

—
Jonathan Billings