I have successfully installed php8 (default) and php7, apache with virtual hosts and SSL. I want to be able to specify which version of php runs in each virtual host. Is there a nice, simple guide on how to do this on Manjaro, please?
This should answer your question.
Thank you. I have read this post and don’t see how it helps me. I can see that it would help if I wanted to run Application A that wanted PHP7 and then run Application B that wants PHP8. However, I want to have my local Apache sever running with multiple virtual hosts running simultaneously, each virtual server running it’s own specific level of PHP. I suspect that it may have something to do with PHP-FPM but I cannot find any clear instructions about this.