Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How can i run two versions of php in php-fpm?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
d-fens
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2004
Posts: 92

PostPosted: Sun Sep 02, 2018 6:55 pm    Post subject: How can i run two versions of php in php-fpm? Reply with quote

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
View user's profile Send private message
steven.kalemkiewicz
n00b
n00b


Joined: 12 Mar 2019
Posts: 1

PostPosted: Wed Mar 13, 2019 12:13 am    Post subject: Reply with quote

I just ran into a similar problem as you had. I wrote up the approach in a Stack Exchange post.

-Steve
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5913

PostPosted: Wed Mar 13, 2019 2:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum