Permision Denied when opening localhost

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Permision Denied when opening localhost

Postby gomj0001 » 29. August 2004 20:07

Whenever i try to open either locla host or anyfile i have uploaded to htdocs i get a permission denied error this on i get when openeing just local host

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

can anyone help me?
Start The Revolution Within Yourself
gomj0001
 
Posts: 1
Joined: 29. August 2004 20:03
Location: Jacksonville, FL

Postby Antho » 28. December 2004 12:24

Me too

Please help me
Antho
 
Posts: 4
Joined: 28. December 2004 12:10
Location: France

Postby Kristian Marcroft » 28. December 2004 14:35

Hi,

which Browser are you using?
Konqueror?
please try another one...
Mozilla/firebird etc. should work.

So long
KriS
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby Antho » 28. December 2004 14:49

No I use Mozilla Firefox
Antho
 
Posts: 4
Joined: 28. December 2004 12:10
Location: France

Postby Wiedmann » 28. December 2004 15:09

Follow the readme step by step (exact!) when you install/extract XAMPP.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Antho » 28. December 2004 16:58

when i start xampp,
this message show : A FTP daemon is already running.
but no ftp running on my pc

sorry for my bad english but i'm french
Antho
 
Posts: 4
Joined: 28. December 2004 12:10
Location: France

Postby Kristian Marcroft » 28. December 2004 17:09

Hi,

are you sure?
Most FTPds are started via inetd/xinetd
Check /etc/inetd.conf and /etc/xinetd.conf

So long
KriS
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby Antho » 28. December 2004 18:48

Now, there is no erropr message when I start xampp
but the permission denied show again
I read the readme, all is correct

thanks

Antho
Antho
 
Posts: 4
Joined: 28. December 2004 12:10
Location: France

Postby xxrsc » 03. January 2005 21:37

Same issue here. XAMPP starts fine. I've tried from Konqueror and IE from another machine on the network. I get the same error. Is it a permissions issue with PHP?
xxrsc
 
Posts: 5
Joined: 03. January 2005 21:32
Location: USA

Postby xxrsc » 03. January 2005 21:48

Fixed it. Give read permission to the lang.tmp file.
xxrsc
 
Posts: 5
Joined: 03. January 2005 21:32
Location: USA

i have xampp instald on debian, and http://localhost is not.

Postby gorgo » 06. January 2005 13:42

i am new to this, and this is my first install of xampp

http://localhost gives me:
the connection was refused wen attemting to contact localhost

i set the fire-wall off.
my internet connection is good, static ip, gateway..
and even the smb serves shows in my xp box.
quote:
"Fixed it. Give read permission to the lang.tmp file"=
i cant find the lang.tmp file,

thanks for reading
gorgo
 
Posts: 3
Joined: 06. January 2005 12:25
Location: nl

Postby Kristian Marcroft » 06. January 2005 15:39

Hi,

did you start XAMPP?

So long
KriS
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

yes its running, i have a hole list in my gateway with: loca

Postby gorgo » 08. January 2005 15:37

yes its running, i have a hole list in my gateway with: localhost not fount,
is this it? the trubble is i dont wana start a studie debian, just work on the sql.
wat is the best disto for xampp?
idear?, a xampp distro, like clarkconnect.


i still have :"the connection was refusd when attemping to contact localhost"

when starting it gives me ftp deamon allready running.

greetings
gorgo
 
Posts: 3
Joined: 06. January 2005 12:25
Location: nl

Postby BlackbirdHakke » 09. January 2005 13:27

Hi there,

this helped me (on Debian) with xampp:
In httpd.conf:
Search:
#ScoreBoardFile logs/apache_runtime_status
and edit to:
ScoreBoardFile logs/apache_runtime_status
as written in the FAQ.
Give it a try, this stopped my "the connection was refusd when attemping to contact localhost" error and startet xampp correctly.

greets, Flo
~ich bin, denke ich~
Ishundia - das RPG
BlackbirdHakke
 
Posts: 89
Joined: 24. February 2004 08:51


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 28 guests