I have project running on Apache and PHP7 to handle web requests (UI, Forms, etc), it's build on Symfony components, if that makes any difference.
In addition to this, I have a console command that is using pthreads
to sent emails concurrently (for speed reasons).
Would like to move the whole project on Docker (transitioning all other projects) and I'm not sure how to do that. There is a php-zts
image variant, but that won't work with Nginx (or Apache).
One option I was considering is to have 2 separate php containers (one for fpm and one for zts), but I don't know how the fpm container will call a command on the zts container.
Any ideas/pointer would be appreciated.