Jump to content
Froxlor Forum
  • 0

How to use a dockerized php-fpm?



I have Froxlor installed on the server, and it's working fine. Now I wanted to run php-fpm inside a docker container and have that be accessed for a specific domain. So far my efforts seem to be ignored though. I tried using ProxyPassMatch and SetHandler in the domain's vhost settings.


<FilesMatch ".php$"> 
   SetHandler "proxy:fcgi://"          


ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://$1

but neither seems to really work. When I access the domain, just the normal PHP executable runs, instead of the php-fpm one inside the Docker container. On my old server I used a dockerized nginx with the dockerized php-fpm container, but figured I'd keep Froxlor's non-dockerized apache now. Is that not possible, or am I doing something wrong?

Link to post
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...