PHP Handler (PHP FPM, LSAPI, CGI) some not working
Hi there,
so I read a ton of posts and searched the web and went through the docs. However I seem to have a few issues witht he PHP Handlers.
First off I'd likt to use PHP-FPM and LSAPI as PHP handlers, and opcache, since that seems to be a fast solution. However when I select both. PHP-FPM overwriting I assume, I get 404 errors and it is not working.
In fact PHP-FPM only is working when I aslo use suphp, but then opcache is not working. When I use LSAPI only and turn of PHP-FPM opcache is working fine. Sites are currently loading fastest this way.
On a differernt server I use PHP-FPM and CGI, that works fine and opcache is working there fine as well. However on this server when I use PHP-FPM and cgi I get "not supported" only, not even a 404 error.
I'm a bit lost at this point. Is PHP-FPM with suphp not using opache? And why is PHP-FPM not working with cgi, whiy is acgi not working on its own, and why is PHP-FPM also not working with LSAPI?
I have now clue to be honest and always thought they are all different handlers but somehow they do seem to work with each other (or against each other).
Thanks for any help.
TIno
-
Well I'm not able to get CGI to work as handler that would solve things. All I get is "Not supported" in the browser when loading php files 0 -
And when I use CGI and have php-fpm turned on it shows just 404 errors on all pages PHP or .html 0 -
Do I may be have to make changes to the apache httpd.conf so that .php files are parsed? 0 -
Just FYI. assigneing a correct domain name fixed the problem. Thanks. Tino 0
Please sign in to leave a comment.
Comments
7 comments