Php fopen .... permissions proble

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Php fopen .... permissions proble

Postby arginine » 05. February 2009 23:37

Hello,

I've installed Xampp 0.7.4 on my MacBook (OS X 10.5.6). Everything is great instead that I got this message while opening my php pages with containing fopen in the code:
"failed to open stream: Permission denied in blablabla"

Please, note that the same code "under" the apache server installed by default on mac or on my website hosted by mavenhosting.com works perfectly.

Does one of you have an idea where could I have a look ?

Thanks a lot for your help

Francis
arginine
 
Posts: 2
Joined: 05. February 2009 23:27

Re: Php fopen .... permissions proble

Postby Wiedmann » 06. February 2009 01:05

Code: Select all
"failed to open stream: Permission denied in blablabla"

Does one of you have an idea where could I have a look ?

At the file permissions for the file in question?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Php fopen .... permissions proble

Postby arginine » 06. February 2009 19:49

Yes, read/write for "everyone"
ps: the same code works like a charm under the apple apache server (with php)

Francis
arginine
 
Posts: 2
Joined: 05. February 2009 23:27


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 3 guests