Change from CGI to DSO?
Over the weekend I installed EasyApache 4, migrating from EA3: so now running Apache 2.4 and PHP 5.6. I believe PHP was running as Apache before the update. Now, PHP is running as CGI. This causing serious issues with some apps like phpBB and others using third party CMS frameworks. If so, how I change from CGI to DSO. DSO handler not available by default in EA4, so cannot change PHP handler via MultiPHP Manager. And, do not see DSO as PHP extension which I can install via EA4. Between a rock and a hard place.
Is DSO not available with PHP 5.6?
Is DSO comparable before the update when I was using EA3, Apache 2.2, and PHP 5.3?
-
To install DSO for PHP 5.6, run the following via SSH: yum install ea-php56-php You can only install DSO for one version of PHP at a time. Once you've installed this, you'll be able to select it as a handler 0 -
The best SAPI is FPM . You can switch to PHP-FPM from WHM and with v66 i guess this becomes much easy to do server wide 0 -
Hello, The command referenced in the earlier response is correct. Here's a thread where this is discussed: Unable to install DSO handler in EA4 Thank you. 0 -
To install DSO for PHP 5.6, run the following via SSH: yum install ea-php56-php You can only install DSO for one version of PHP at a time. Once you've installed this, you'll be able to select it as a handler
Okay, that worked - thanks! Is there an extra step? I enabled DSO, but then PHP was no longer executable: i.e., instead of executing, PHP files are displayed or prompted to be downloaded.0 -
Okay, that worked - thanks! Is there an extra step? I enabled DSO, but then PHP was no longer executable: i.e., instead of executing, PHP files are displayed or prompted to be downloaded.
Hello, Could you let us know the contents of the .htaccess file in the document root of the domain name this is happening on? Thank you.0 -
The best SAPI is FPM . You can switch to PHP-FPM from WHM and with v66 i guess this becomes much easy to do server wide
Yeah, I enabled FSM for all sites. Can't hurt :)0 -
Hello, Could you let us know the contents of the .htaccess file in the document root of the domain name this is happening on? Thank you.
I think I was quick to pass judgement. Took a few secs, and PHP now executable.0
Please sign in to leave a comment.
Comments
7 comments