Virtualmin + Apache + CentOS 7 + Fresh Install - FCGID Permission Issues

1 post / 0 new
#1 Wed, 11/02/2016 - 09:43
andreamusico

Virtualmin + Apache + CentOS 7 + Fresh Install - FCGID Permission Issues

Hi, I've setup a host with CENTOS 7 x64, creating some virtual domains in virtualmin choosing as "PHP script execution mode" the option "FCGId (run as virtual server owner)".

When I try to access a .php page, for example www.neuromante.it/ these entry are generated in common apache error log:

[Wed Nov 02 13:47:24.328711 2016] [fcgid:error] [pid 10880] (13)Permission denied: mod_fcgid: couldn't bind unix domain socket /run/mod_fcgid/10880.65 [Wed Nov 02 13:47:24.328746 2016] [fcgid:warn] [pid 10880] (13)Permission denied: mod_fcgid: spawn process /home/neuromante/fcgi-bin/php5.fcgi error

It seems the system is unable to create the socket in /run/mod_fcgid/.

Switching with mod_php is OK.

Webmin gives CentOS Linux 7.2.1511

php -v gives: PHP 5.4.16 (cli) (built: Aug 11 2016 21:24:59) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

I think it is the release version.

It seems all other settings are correct.

What am I missing?

Best regards