Hi!
This was a problem I stumbled upon today and didn't find a solution for it on the forums but finally figured it out using debug in apache and switching place on the fcgid and php module, so here's the solution for it.
This solution is only if you also have the mod_php module loaded and have eaccelerator installed for php.
The thing that makes this error to be thrown is that you're probably loading mod_php before the fcgid module in the first place, throwing you a bit in the wrong direction as it's a problem with php and not fcgid.
What you want to do is deinstall eaccelerator, edit the Makefile for eaccelerator and add --with-eaccelerator-shared-memory=yes to the configure_args, something like this:
Recompile and restart apache and it should be working just fine.
Code:
[emerg] (12)Cannot allocate memory: mod_fcgid: Can't create shared memory for size 1192488 bytes
This was a problem I stumbled upon today and didn't find a solution for it on the forums but finally figured it out using debug in apache and switching place on the fcgid and php module, so here's the solution for it.
This solution is only if you also have the mod_php module loaded and have eaccelerator installed for php.
The thing that makes this error to be thrown is that you're probably loading mod_php before the fcgid module in the first place, throwing you a bit in the wrong direction as it's a problem with php and not fcgid.
What you want to do is deinstall eaccelerator, edit the Makefile for eaccelerator and add --with-eaccelerator-shared-memory=yes to the configure_args, something like this:
Code:
CONFIGURE_ARGS= --enable-eaccelerator=shared \
--with-eaccelerator-userid=80 \
--without-eaccelerator-use-inode \
--with-eaccelerator-shared-memory=yes
Recompile and restart apache and it should be working just fine.