Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th July 2009, 02:41
spike spike is offline
Junior Member
 
Join Date: Jul 2009
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default ISPConfig2 Install - Gentoo - Apache2 syntax error

Hi,

I've just finished a fresh installation of Gentoo with ISPConfig (2.2.32) on top (http://www.howtoforge.com/perfect_server_gentoo_2007.0). I installed as per the howto and installed ISPConfig from the script. All seemed to go really well with no errors until the end of the ./setup bit where I was notified that there was a syntax error on line 9 of /etc/apache2/modules.d/70_mod_php5.conf.

/etc/apache2/modules.d/70_mod_php5.conf
Code:
<IfDefine PHP5>
        # Load the module first
        <IfModule !mod_php5.c>
                LoadModule php5_module    modules/libphp5.so
        </IfModule>

        # Set it to handle the files
        <FilesMatch "\.ph(p5?|tml)$">
                SetHandler ##ISPConfig INSTALL## application/x-httpd-php
        </FilesMatch>

        <FilesMatch "\.phps$">
                SetHandler ##ISPConfig INSTALL## application/x-httpd-php-source
        </FilesMatch>

        DirectoryIndex index.php index.phtml
</IfDefine>
I can't find the original error message but it complained that setHandler should only have one parameter?!?

Does anyone know what this means? Or more importantly, how I can fix it?

Many thanks.
Reply With Quote
Sponsored Links
  #2  
Old 14th July 2009, 08:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
 
Default

Change the line:

SetHandler ##ISPConfig INSTALL## application/x-httpd-php


to:

##ISPConfig INSTALL## SetHandler application/x-httpd-php

and the line:

SetHandler ##ISPConfig INSTALL## application/x-httpd-php-source

to:

##ISPConfig INSTALL## SetHandler application/x-httpd-php-source
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
All my mail is going to /var/mail/vmail _sluimers_ Installation/Configuration 21 10th January 2011 13:21
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 16:26
can't help ispconfig to install please help steve51184 Installation/Configuration 17 20th February 2009 10:37
mplayer error dexjul Installation/Configuration 3 1st December 2007 12:45
Ispconfig Install error "lex.ssl_expr_yy.c:1901: error:" galmiche Installation/Configuration 1 30th December 2006 11:44


All times are GMT +2. The time now is 05:17.


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