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

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


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


More information about the horde mailing list