php selector and mod_fcgid and mod_lsapi per account?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oceanwave
    Junior Member
    Forum Explorer
    • Dec 2024
    • 19

    #1

    php selector and mod_fcgid and mod_lsapi per account?

    Can I install both mod_fcgid and mod_lsapi with easyapache 4 and then use php selector or another means to select whether an account uses mod_fcgid or mod_lsapi as the php handler?
    Or would this be inadvisable?
    I'm interested in evaluating a switch from mod_fcgid to mod_lsapi and wondering if I need to
    1.) switch the server with easyapache from one to the other like I did when I changed from su_php to fcgid, or if there is a way to
    2.) switch individual account(s) over and observe before changing all accounts over
  • bogdan.sh
    Administrator
    • Nov 2016
    • 1248

    #2
    You can install both mod_fcgid and mod_lsapi with EasyApache 4, however, PHP handlers are typically configured globally for each PHP version within WHM MultiPHP Manager.

    This means if you set PHP 8.4 to use fcgi in WHM, all accounts using PHP 8.4 will utilize the fcgi handler. The PHP handlers are per PHP version, not per account.

    However, most likely you utilize both ea-php84 and alt-php84 and you can select different handlers for them:
    Click image for larger version

Name:	Screenshot_20250913_115202.png
Views:	0
Size:	23.6 KB
ID:	40725

    And then select eitner ea-php84 or alt-php84 in WHM > MultiPHP Manager > User Domain Settings tab, the dropdown list. You should give it a try.

    Comment

    Working...