Fedora Server 22 - FCGID question

asked 2016-04-18 14:10:10 -0600

ciscoguru gravatar image

I apologize upfront if this is a simple thing to fix, I'm relatively new to Linux. I've got an install of Fedora Server 22 running WordPress. I'm attempting to install a plugin, but it fails and the vendor's answer to fix the particular error I'm getting is to change the following variable "PHP_FCGID_CHILDREN to 2". Looking at the fcgid.conf file, that doesn't look like the variables that are in the file.

It seems like it should be a simple thing, but I can't figure out where to make the change at, or the proper variable to modify.

Appreciate any help


edit retag flag offensive close merge delete


How have you configured PHP ? It seems your are using an old way. Please try with apache + mod_php or apache + php-fpm or nginx + php-fpm. All should work "out of the box"

remi gravatar imageremi ( 2016-04-19 01:00:53 -0600 )edit

Is it possible that PHP_FCGID_CHILDREN=2 should be set as an environment variable? If yes, you should find the script or systemd service file which starts php for you and set it before executing PHP happens.

genodeftest gravatar imagegenodeftest ( 2016-04-19 04:24:01 -0600 )edit

So I found something similar in an Ubuntu forum but again being a noob to web/linux, I'm lost as to how to implement it here. It talks about using a 'wrapper' to set this particular variable, which is great. I've only got one site right now (Wordpress) and won't be using this particular system for anything other than that. That being said, I'm not sure where to call this wrapper at (I'm a Cisco engineer by trade, but haven't touched web stuff in ages...).

ciscoguru gravatar imageciscoguru ( 2016-04-21 11:40:52 -0600 )edit

@remi - I believe you're right on it being an old method. I'm going to spin up a new image and try it with nginx to see if it makes a difference. Appreciate the help

ciscoguru gravatar imageciscoguru ( 2016-04-25 07:25:54 -0600 )edit