Getting error "PHP execution via fcgid requires the Apache mod_fcgid module"

5 posts / 0 new
Last post
#1 Wed, 03/17/2010 - 18:33
kelv1n

Getting error "PHP execution via fcgid requires the Apache mod_fcgid module"

Hi Guys

I run Virtualmin GPL and I'm trying to configure a new server, when I make a change to the Features and Plugins I get the following error:

Failed to save enabled features : PHP execution via fcgid requires the Apache mod_fcgid module

I use mod_php, not mod_fcgid. Can any point to the location to disable this? I know I've got to edit a config file, but I can't recall which one.

Thanks

Wed, 03/17/2010 - 20:02
andreychek

Howdy,

Which Virtualmin version are you using, and what distro/version are you running it on? And had you used the install.sh script to install it?

-Eric

Thu, 03/18/2010 - 03:39
kelv1n

Hi Eric

I'm running CentOS 5 with Virtualmin v3.77 GPL, which I installed manually as Webmin module, Apache and PHP have been custom compiled.

Thu, 03/18/2010 - 03:59
kelv1n

Hi Eric

I've found a quick way, by just adding the loadmodule mod_fcgid to the httpd.conf, this obviously just tricks Virtualmin, but I'd like to know a proper way of doing it.

Thu, 03/18/2010 - 08:47
andreychek

Howdy,

I'll be perfectly honest, I've never heard of that error before :-)

It shouldn't be a requirement to use fcgid, so I'm not quite sure where that error is stemming from.

Jamie has been making some improvements into the GPL version to allow admins to control whether a given Virtual Server is using fcgid, cgi, or mod_php. That feature will be available next release, but code has been going into Virtualmin to make that possibe.

If I had to guess, some combination of not having used the install.sh script to perform the installation, and the partial support for controlling fcgid, is causing unusual messages in some cases.

My suggestion would be to leave the fcgid module loaded, enjoy the ability to switch between that and cgi/mod_php after the next version, and if then you're still seeing any weirdness, let us know and we can work together to figure out what's going on :-)

-Eric

Topic locked