Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PHP5.x alongside PHP7.x
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
PeGa!
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 96
Location: Capital Federal, Buenos Aires, Argentina

PostPosted: Fri Jun 03, 2016 6:47 am    Post subject: PHP5.x alongside PHP7.x Reply with quote

Hi folks,

I'm trying to set up a dual-php environment with nginx/php-fpm which should be able to run both 5.x and 7.x-compatible applications transparently.

I found that debian-based distros can do this, but it implies that fpm should be aware of both PHP implementations.

As we use eselect to define which only implementation will be used, I'm unable to see how to do this in Gentoo.

Thanks in advance.
_________________
If it moves, it needs an ebuild.

Adopt an unanswered post.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5587

PostPosted: Fri Jun 03, 2016 9:40 pm    Post subject: Reply with quote

eselect only sets symlinks for the default. If you want to run a specific version, just refer to the php-fpm5.5 or php-fpm7.0 binary directly.
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