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

James W. Beauchamp jbeauchamp at gesinc.com
Wed Dec 27 15:14:15 PST 2006


Lars:
Sure, I can give you access.  I'm currently on vacation though. Let me
shoot you an email after the 1st.  Will that work for you?

James


> James W. Beauchamp wrote:
> > Lars:
> > I hope you had a Merry Christmas.  I ran the check and the environment
> > came out fine.  I had Hello World rendered properly.
> > 
> > I am really stumped by this....any other ideas??
> 
> Well, I'm lost as well. There was another guy (Vilius Sumskas)
> that replied to your problem on the list, and he said:
> 
> --- Begin Included Message ---
> 
> 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
> 
> --- End Included Message ---
> 
> But your php cli seems to work OK, proved by the "Hello World" test.
> 
> I have no further ideas at the moment.
> 
> Any chance you could give me access to the machine?
> 
> R
> /Lars
> 
> > Lars Stavholm wrote:
> >> James W. Beauchamp wrote:
> >>  
> >>> Lars:
> >>> Here's my output
> >>>
> >>> [root at shuttle horde]# pwd
> >>> /var/www/html/horde
> >>> [root at shuttle horde]# scripts/setup.php
> >>> X-Powered-By: PHP/4.3.9
> >>> Set-Cookie: Horde=0230c3aeab35fa952acc37407dd66462; 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:
> >>>     
> >>
> >> Ah, I see, that's all jibberish, I thought you ment
> >> you got that stuff in the browser.
> >>
> >> OK, lets see now, have a look at the first line in
> >> scripts/setup.php. It should be something like the
> >> one I have, i.e. "#!/usr/bin/php" followed by "<?php".
> >> Next thing is to look at /usr/bin/php and make sure
> >> it's healthy.
> >>
> >> To make sure your environment is OK, try the following:
> >>
> >> # cat <<! > test.php
> >> #!/usr/bin/php
> >> <?php
> >> print "Hello World!\n";
> >> ?>
> >> !
> >> # chmod 755 test.php
> >> # ./test.php
> >> Hello World!
> >>
> >> ...and let me know how it goes.
> >>
> >> Cheers
> >> /Lars
> >>
> >>
> >>   
> > 
> 
> 

-- 
James W. Beauchamp, P.E.
Global Environmental Solutions, Inc.
2121 Newmarket Parkway 
Suite 140
Marietta, GA
www.gesinc.com
770-690-9552 - ext. 227 (office)
404-290-9453 (mobile)


More information about the horde mailing list