Re: can't open file

From: Date: Thu, 12 Jul 2007 16:57:06 +0000
Subject: Re: can't open file
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-258725@lists.php.net to get a copy of this message
Anugrah Widya wrote:
Stut wrote:
Anugrah Widya wrote:
dear php developer, i have weird situation here, i can't create a file in 777 mode directory and stay in same server, is this a bug ?? fyi. i'm using fc6, and php 5.1.6
I'm not sure I understand what the problem is. Please post the code you're using and a more detailed description of what you're trying to achieve and what's actually happening. -Stut
here the situation is, i have two domain (two website), and both stay in same server, and use same php Website A -> /var/www/html/A Website B -> /var/www/html/B website A would like to create some file in website B, in /var/www/html/B/var/tmp/queue, and that map is in 777 mode created by script what i got is the fopen() won't succeed to create the file in website B but if i test to write into /var/www/html/A/var/tmp/queue in website A admin it succeed is it because of some configuration in php.ini i didn't activate or what ??
You probably have some form of safe mode enabled. See http://php.net/features.safe-mode for details. -Stut -- http://stut.net/

« previous php.general (#258725) next »