Hi
i was wondering if someone can help me configure multiple pools on php-fpm and use them in a virtuhost.
I am trying to have different users for different directory
for example
https://mysite.com/webmail with a user webmail
https://mysite.com/joomla with a user joomla
https://mysite.com/phpmysql with a user phpmysql
Apache php-fpm
Re: Apache php-fpm
Simply
- duplicate default pool configuration (www.conf)
- update pool to change pool name, port (listen), user, and session directory
- adapt the SetHandler for each vhost or directory
Read https://developers.redhat.com/blog/2017 ... tion-tips/
Also https://blog.remirepo.net/post/2016/04/ ... orkstation (with vhost example, 1 per PHP version but works the same, 1 pool per vhost / project)
- duplicate default pool configuration (www.conf)
- update pool to change pool name, port (listen), user, and session directory
- adapt the SetHandler for each vhost or directory
Read https://developers.redhat.com/blog/2017 ... tion-tips/
Also https://blog.remirepo.net/post/2016/04/ ... orkstation (with vhost example, 1 per PHP version but works the same, 1 pool per vhost / project)
Re: Apache php-fpm
Thank you for you reply, I will read the link.
I was able to have it working with ProxyPassMatch
I was able to have it working with ProxyPassMatch