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

Trying to install virtualmin on ubuntu 14.04
I can this error when trying to enable apache in "Features and plugins".
I have been using virtualmin for years as a paid subscription and as gpl licence.
I have never had so much trouble installing virtualmin on a server as today: lost more than 4/5 hours trying to resolve things!!!

Thanks for your help if you want to!!




and I get the following error:
The apache2 instance did not start within 20 seconds. Please read the log files to discover problems

Howdy -- it doesn't look like you have an active Pro license there, which means you'd normally want to use the Forums for support.

But I'll offer that you may want to ensure that FCGID is enabled within Apache.

That typically occurs by default, but it's possible that the particular Ubuntu image you have doesn't have that enabled for some reason. You can enable that with the command "a2enmod fcgid". And then restart Apache afterwards.

If you continue to have errors after that, you may also want to review the Apache error log for ideas as to what isn't working, that's available in /var/log/apache2/error_log.

Thank you for your answer. If I try to enable fcgid module, apache won't start. this is the error fromerror.log:
[fcgid:emerg] [pid 15295] (2)No such file or directory: mod_fcgid: Can't create shared memory for size 1200712 bytes

We're happy to help! Though if you're using Virtualmin GPL, we may need to continue over in the Forums (which we monitor, along with lots of wonderful folks in the community!)

Alternatively, you can also purchase a support incident, which means we could continue to help here, and even log in if necessary.

Which ever route you'd like to take -- the next step is to try enabling the Apache FCGID module, and then look at /var/log/apache2/error_log to see what errors Apache is throwing.