For my open source DDEV configuration for developing TYPO3 CMS extensions (https://github.com/a-r-m-i-n/ddev-for-typo3-extensions) I would like to work with different PHP versions in different Apache VHosts.
In CLI this is easy to achieve, because every PHP binary version is present but for Apache there is always just one fpm config enabled, by default (according to configured PHP version in config.yaml).
What I tried:
- disable php-fpm-8.0.conf
- change sock file in pool.d/www.conf
- restart fpm and reload apache service
- Include php-fpm-8.0.conf in my Apache-site.conf
All within the container (to test). But the PHP version served in Apache is still 7.4.
What did I miss here? And how can I apply changes to Apache (incl. restarting) in my Webbuild/Dockerfile? Or is this the wrong place?
Thanks in advance.