View previous topic :: View next topic |
Author |
Message |
d-fens Tux's lil' helper
Joined: 09 Jan 2004 Posts: 93
|
Posted: Sun Sep 02, 2018 6:55 pm Post subject: How can i run two versions of php in php-fpm? |
|
|
Hi,
i have to move some legacy software to php7 -
is there a way to have php5.6 and php7 in parallel on the same server using php-fpm and set the php handler per virtualhost?
This would allow to easy switch between versons and test stuff, php-fpm and mod-fcgi is working but i have no idea how to run both at the same time |
|
Back to top |
|
|
steven.kalemkiewicz n00b
Joined: 12 Mar 2019 Posts: 1
|
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Wed Mar 13, 2019 2:30 am Post subject: |
|
|
Nothing to add here except to say those are some very well-written instructions. I've added a link to it on the wiki. |
|
Back to top |
|
|
d-fens Tux's lil' helper
Joined: 09 Jan 2004 Posts: 93
|
Posted: Wed Sep 02, 2020 9:46 am Post subject: |
|
|
just for a comparison: https://forums.gentoo.org/viewtopic-p-8075200.html#8075200
whats the advantage of ports over sockets here and using `SetHandler "proxy:fcgi://127.0.0.1:9972" # <-- Note port num.` over `FastCgiExternalServer /usr/lib/php5.6/bin/php-fpm -socket /var/run/php-fpm/php56.sock ` ? |
|
Back to top |
|
|
|