NotionCommotion Posted August 25, 2019 Share Posted August 25, 2019 (edited) I am using mod_php with Apache/2.4.6 (CentOS). I currently do not have multiple versions of PHP running on my server, but wish to do so now. Will I need to use php-fpm? Even if multiple instances can be accomplished with mod_php, is it typically preferred to use php-fpm? Any unusual gotcha's that I should be aware of? Will I need to uninstall mod_php before installing php-fpm? I previously used remi-php73 repo. Better to install from source? Thanks Edited August 25, 2019 by NotionCommotion Quote Link to comment https://forums.phpfreaks.com/topic/309142-multiple-php-instances-on-same-server/ Share on other sites More sharing options...
requinix Posted August 25, 2019 Share Posted August 25, 2019 Whether you use php-fpm or mod_php is irrelevant. Pick whatever you want. The only real thing to do is install the versions to different locations. I believe Remi's does that. Quote Link to comment https://forums.phpfreaks.com/topic/309142-multiple-php-instances-on-same-server/#findComment-1569197 Share on other sites More sharing options...
NotionCommotion Posted August 25, 2019 Author Share Posted August 25, 2019 Thanks requinix. Do you use php-fpm or mod_php? May I ask why you use one over the other? Quote Link to comment https://forums.phpfreaks.com/topic/309142-multiple-php-instances-on-same-server/#findComment-1569198 Share on other sites More sharing options...
requinix Posted August 25, 2019 Share Posted August 25, 2019 php-fpm. Because nobody uses Apache anymore. Couldn't tell you why, though. Quote Link to comment https://forums.phpfreaks.com/topic/309142-multiple-php-instances-on-same-server/#findComment-1569201 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.