Ticket #1474 (closed defect: duplicate)
Recent fastcgi/fcgid changes break fcgid for me (gentoo)
|Reported by:||pgentoo||Owned by:|
|Priority:||major||Milestone:||ispCP ω 1.0 - RC7|
|Component:||Backend (Engine)||Version:||ispCP ω 1.0.0 - RC6|
The current config doesn't work for me. I get errors when i try to load up any php page under /var/www/ispcp/gui.
Moving the IfModule? inside the Directory like follows, fixes the issues for me.
<Directory /var/www/ispcp/gui> Options -Indexes Includes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all <IfModule mod_fcgid.c> FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php Options +ExecCGI </IfModule> </Directory>
I also like this layout, because it consolidates down multiple Directory entries into one...
Also in fcgid_ispcp.conf, there is no need to define the socket path there (at least for gentoo). /etc/apache2/modules.d/20_mod_fcgid.conf (provided on a fcgid install on gentoo) already defines the socket path (SocketPath? /var/run/fcgidsock). If you set it to "SocketPath? /var/lib/apache2/fcgid/sock" in fcgid_ispcp.conf, then it breaks fcgid. I'd recommend removing this one line from the file.