[horde] Groupware Webmail Edition - setup.php not readable
Lars Stavholm
stava at telcotec.se
Tue Dec 26 12:09:05 PST 2006
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 /> (<strong>0</strong>)
>>> Exit<br /> (<strong>1</strong>) Configure
>>> database settings<br /> (<strong>2</strong>)
>>> Create database or tables<br
>>> /> (<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
>>
>>
>>
>
More information about the horde
mailing list