Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Help With Installing Xammp
xxrsc
post Jan 3 2005, 02:38 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 3-January 05
Member No.: 4,430



I have installed XAMMP in the /opt directory as directed from the apachefriends site. It installed and started fine. When I go to http://localhost to test it, I get an error.

QUOTE
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




I have limited knowledge of linux as you might see. Would this be a file permission issue? If so how do I go about correcting the setup? Thanks
Go to the top of the page
 
+Quote Post
DS2K3
post Jan 3 2005, 02:49 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



(I atake it Xaamp is a PHP program...)

You need to give Apache/PHP permission to read the file in question, to do this chmod it rw-r--r-- (0640) (this can be done using a GUI such as konqueror, just right-click and select properties)

The warning should also go away once you fix that issue, as it is the error message itself causing it

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2017 - 04:41 AM