#1  
Old 6th January 2010, 04: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 3.0.1.6 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
[FAILED]

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
</Directory>

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.

Thanks,
Brian
Reply With Quote
Sponsored Links
  #2  
Old 6th January 2010, 10:29
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,750
Thanks: 821
Thanked 5,329 Times in 4,181 Posts
Default

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

http://www.howtoforge.com/perfect-se...64-ispconfig-3

see page 5:

Code:
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)
  #3  
Old 7th January 2010, 00:19
bseibenick bseibenick is offline
HowtoForge Supporter
 
Join Date: Dec 2009
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
 
Default

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

Thanks,
Brian
Reply With Quote
Reply

Bookmarks

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 17:26
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 10:20
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 13:21.


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