[horde] Groupware Webmail Edition - setup.php not readable

Lars Stavholm stava at telcotec.se
Sun Dec 24 16:55:45 PST 2006


Vilius Sumskas wrote:
>> Lars:
>> Thanks for the quick reply.  That's what I thought as well, but apache
>> (this is on CentOs 4) has the right modules loaded for php in httpd.conf
>> (AddType and DirectoryIndex directives).  I'll keep poking at it - it
>> must be something staring me in the face.....
>>
>> James
>>
>>> James W. Beauchamp wrote:
>>>> Hi all:
>>>> I know this is a newbie question but I can't for the life of me figure
>>>> out what is causing it.  I have installed the groupware files in the
>>>> stock/standard install locations (/horde) and am attempting to run the
>>>> /scripts/setup.php.  When I run this file, instead of getting a menu I
>>>> just get the raw html code as follows:
>>>> ----------------------------------------------
>>>> php /var/www/html/horde/scripts/setup.php
>>>> X-Powered-By: PHP/4.3.9
>>>> Set-Cookie: Horde=9e6956992742e70d2a71c07dd6395f4e; path=/horde;
>>>> domain=127.0.0.1
>>>> Expires: Thu, 19 Nov 1981 08:52:00 GMT
>>>> Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
>>>> pre-check=0
>>>> Pragma: no-cache
>>>> Content-Type: text/html; charset=ISO-8859-1
>>>>
>>>> Configuration Menu <br />&nbsp;&nbsp;&nbsp;&nbsp;(<strong>0</strong>)
>>>> Exit<br />&nbsp;&nbsp;&nbsp;&nbsp;(<strong>1</strong>) Configure
>>>> database settings<br />&nbsp;&nbsp;&nbsp;&nbsp;(<strong>2</strong>)
>>>> Create database or
>>>> tables<br/>&nbsp;&nbsp;&nbsp;&nbsp;(<strong>3</strong>) Configure
>>>> administrator settings<br /><br />Type your choice:    
>>>> ---------------------------------------------------
>>>>
>>>> Any ideas on how to fix this so I can successfully configure groupware?!
> 
> The problem here is that CentOS4 doesn't have native php CLI. Command line PHP is compiled as CGI there (at least on RedHat 4 which CentOS4 is based on is). You can check it by running:
> php -v
> PHP 4.3.9 (cgi) (built: Nov  2 2006 16:39:38)
>                    ^-------------------------
> Copyright (c) 1997-2004 The PHP Group
> Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

Possible workaround?
/L



More information about the horde mailing list