Upgraded to Debian Squeeze, no more FastCGI?

6 posts / 0 new
Last post
#1 Tue, 04/26/2011 - 16:32
SeanieB

Upgraded to Debian Squeeze, no more FastCGI?

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.

Mon, 06/06/2011 - 07:10
teropitk

I have a similar problem. Could you please advise me how to make this change. I'm not very experienced linux user.

Mon, 06/06/2011 - 07:31
Locutus

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.

Mon, 06/06/2011 - 08:08
teropitk

I comment out those two lines in php5.conf and FCGid woke up to life.

Thanks Locutus.

Mon, 06/06/2011 - 09:28
andreychek

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

Mon, 06/06/2011 - 11:38
Locutus

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. :)

Topic locked