Old 6th January 2010, 05:20
bseibenick bseibenick is offline
HowtoForge Supporter
Join Date: Dec 2009
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
Default Fast-CGI php error question

So far mod_php and suphp seem to work correctly on sites in my CentOS 5.4 ISPConfig install. However the fast cgi for php does makes apache not want to start. When I make the change in ISPConfig to enable fast cgi for php then after the vhost file is modified to a restart of apache I get an error:

[root@dev1 httpd]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 34 of /etc/httpd/conf/sites-enabled/livedevelop.com.vhost:
Invalid command 'FCGIWrapper', perhaps misspelled or defined by a module not included in the server configuration

The lines from the vhost file are:
# suexec enabled
SuexecUserGroup web1 client2
# php as fast-cgi enabled
<Directory /var/www/livedevelop.com/web>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride all
Order allow,deny
Allow from all

Do I need to manually install anything for the FCGIWrapper? Is there anything else I can check? I run Joomla CMS on most of my sites so I would like the option of suphp for the smaller ones and fast-cgi for the larger ones.

Any thoughts would be appreciated.

Reply With Quote
Sponsored Links
Old 6th January 2010, 11:29
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts

You missed to install the fcgi php module as described in the ISPConfig 3 perfect setup guide for Centos 5.4:


see page 5:

yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-mbstring php-mcrypt php-mhash php-mssql php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel mod_fcgid php-cli httpd-devel
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
bseibenick (7th January 2010)
Old 7th January 2010, 01:19
bseibenick bseibenick is offline
HowtoForge Supporter
Join Date: Dec 2009
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts

It turns out what I really did was miss enabling the kbs-CentOS-Testing section of the repo file.

Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 18:26
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 09:20
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 14:06
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 11:20
Apache2 Freezes celtic Server Operation 31 28th May 2007 18:18

All times are GMT +2. The time now is 06:11.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.