I have a few sites that use MySQL instead of MySQLi, so I have to keep them on PHP 5.6 until they're all updated. But I would like to install HTTP/2 for them.
I understand that HTTP/2 isn't compatible with DSO, which is the default for my PHP 5.6.
I first turned on PHP-FPM, which I thought would override the handler entirely, but my HTTP loadtime skyrocketed! And users complained that the site was constantly timing out on them. That didn't work out at all.
Then tonight I installed mod_fcgid through EasyApache4 and changed the handler for one of the sites. But then the site began prompting to download PHP scripts instead of executing them... and I mean, downloading raw source code!! Luckily I only had that live for a minute at 2am before I changed it back, so hopefully nobody noticed :-O
So now I have a 2-part question:
1. if FastCGI is the right way to go, how do I make it work with WHM/cPanel?
2. if not, what other handler do you recommend that I install?
I understand that HTTP/2 isn't compatible with DSO, which is the default for my PHP 5.6.
I first turned on PHP-FPM, which I thought would override the handler entirely, but my HTTP loadtime skyrocketed! And users complained that the site was constantly timing out on them. That didn't work out at all.
Then tonight I installed mod_fcgid through EasyApache4 and changed the handler for one of the sites. But then the site began prompting to download PHP scripts instead of executing them... and I mean, downloading raw source code!! Luckily I only had that live for a minute at 2am before I changed it back, so hopefully nobody noticed :-O
So now I have a 2-part question:
1. if FastCGI is the right way to go, how do I make it work with WHM/cPanel?
2. if not, what other handler do you recommend that I install?