Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

XAMPP

Posted on 2011-03-22
2
Medium Priority
?
1,479 Views
Last Modified: 2013-05-27
I am having the followinfg message when I am running "http://localhost" and clicking in any language link displayed. I already re-install the application three times.

By the way, I am running that from a Mac.

Do not send me links from google based in a simple search from this words. I want answers not links.

Warning: fopen(lang.tmp) [function.fopen]: failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang.php on line 2

Warning: fwrite() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang.php on line 3

Warning: fclose() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang.php on line 4

Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/xampp/lang.php:2) in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang.php on line 5
0
Comment
Question by:jr_barros_jr
2 Comments
 
LVL 2

Accepted Solution

by:
NickGermi earned 2000 total points
ID: 35195595
I'm not a Mac expert but the have used XAMPP on Windows, the first error XAMPP is reporting seem to be related to file/folder permissions, rest of the errors might be appearing because of the first error

I would try changing the permission on XAMPP installation directory to public read write execute access
0
 

Expert Comment

by:ErnadeJo
ID: 39199551
2 years later ;-), I have the same problem. "Changing the permission to public read and write: How and where?"

After installing XAMPP on a Mac I get this message when I'm running localhost:

Warning: fopen(lang.tmp) [function.fopen]: failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang.php on line 2

Warning: fwrite() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang.php on line 3

Warning: fclose() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang.php on line 4

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

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to implement server side field validation and display customized error messages to the client.
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question