Installation error: failed to open stream-Permission denied

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

Installation error: failed to open stream-Permission denied

Postby endo4977 » 20. February 2007 07:08

i just installed the latest version xampp for linux and I getting the following error after starting the server (all services) and logging in:

Code: Select all
Warning: fopen(lang.tmp) [function.fopen]: failed to open stream: Permission denied in /opt/lampp/htdocs/xampp/lang.php on line 2

Warning: fwrite(): supplied argument is not a valid stream resource in /opt/lampp/htdocs/xampp/lang.php on line 3

Warning: fclose(): supplied argument is not a valid stream resource in /opt/lampp/htdocs/xampp/lang.php on line 4

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




I also verified that the htdocs directory has 755 permissions.

Any ideas what i can do to fix this problem? TIA
endo4977
 
Posts: 3
Joined: 20. February 2007 06:59

Postby Wiedmann » 20. February 2007 13:45

You have installed XAMPP as user "root"?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby endo4977 » 20. February 2007 17:22

yes
endo4977
 
Posts: 3
Joined: 20. February 2007 06:59

Postby Wiedmann » 20. February 2007 17:32

Sorry, then I can't help.

(The only reason I know for this error is: Someone don't install XAMPP in that way described in the manual.)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby endo4977 » 21. February 2007 06:07

I changed the permissions on htdocs to 777 as a test and it works now. Why is 755 not sufficient?
endo4977
 
Posts: 3
Joined: 20. February 2007 06:59


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests