These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Upgraded to Debian Squeeze, no more FastCGI? on the new forum.
I don't know if any of you have this problem. I upgraded to Debian Squeeze, and I no longer have any FastCGI support. Virtualmin's little switch for fastcgi/cgi does nothing, all the sites report they're using the Apache handler in phpinfo. I have always had my sites using fastcgi, so they've kinda broken now. The apache modules are installed, no errors in virtualmin or anything. What do I do?
Edit: Figured it out. Apparently it only works with the Worker MPM, not Prefork. Switched it to Worker and everything is fine.
I have a similar problem. Could you please advise me how to make this change. I'm not very experienced linux user.
Maybe Squeeze is "suffering" from the same issue as Ubuntu 10 concerning PHP handlers, an issue which might present itself after the upgrade.
On Ubuntu, one needs to comment out two
SetHandler
lines in/etc/apache2/mods-available/php5.conf
, otherwise FCGId is ignored.Paths might differ on Debian. The Virtualmin installer does this change automatically meanwhile, but obviously not for existing installations. :)
Maybe this helps.
I comment out those two lines in php5.conf and FCGid woke up to life.
Thanks Locutus.
Howdy,
Ah, that makes sense... we may need to have the install.sh script fix that on Debian Squeeze.
As far as SeanieB's fix above -- I think the reason that worked, is that Apache's mpm-worker mode doesn't actually support mod_php... the act of installing mpm-worker likely disabled mod_php.
Which, is another way of resolving this issue -- disabling mod_php :-)
-Eric
Yep that's right. :) Actually, on Ubuntu, when I try to install mpm-worker, it will need to uninstall mpm-prefork and mod-php5, and consequently break virtualmin-base since that depends on mod-php5.
So, rather an issue there trying to get mpm-worker. :)