Page 1 of 1

set up problem

PostPosted: 01. December 2007 23:02
by belokan2
Hi, I have installed xampp-linux-1.6.4 but when I visited http://localhost after installation, I got the following warning showing on the browser. What am I doing wrong?

==============
Warning: file_get_contents(lang.tmp) [function.file-get-contents]: failed to open stream: Permission denied in /opt/lampp/htdocs/xampp/index.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/xampp/index.php:2) in /opt/lampp/htdocs/xampp/index.php on line 4
==============

PostPosted: 01. December 2007 23:05
by Wiedmann
I have installed xampp-linux-1.6.4

How exactly?

PostPosted: 01. December 2007 23:50
by belokan2
I downloaded XAMPP Linux 1.6.4 from http://www.apachefriends.org/en/xampp-linux.html and untar on /opt/lampp in my ubuntu system.

since there were executables already compiled, I just ran /opt/lampp/lampp start and it seemed that it launched the services smoothly :
Starting XAMPP for Linux 1.6.4...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.


But then when I visited http://localhost it gives the warning that I posted before.

PostPosted: 02. December 2007 03:50
by Wiedmann
And you have done that all as user "root"?

PostPosted: 02. December 2007 05:28
by belokan2
yes. I did that as a root.