is_writable() not working on PHP 5.1.6

From: Date: Fri, 05 Jan 2007 11:01:30 +0000
Subject: is_writable() not working on PHP 5.1.6
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-246581@lists.php.net to get a copy of this message
Hi, I am running Fedora Core 6 with PHP 5.1.6 This little snippet will output "the file is not writable": if (file_exists($file)) { if(!is_writeable($menu_filename)){
	    echo "the file is not writable";
} } else echo "The file does not exist"; I have set the permissions to 777 for the file and also put group and user to apaches user. So that is not an issue. I have seen some bug reports on this, but haven't figured out how to solve it. Is this a PHP 5.1.6 related bug? I haven't seen any fix or similar. Best regards, Peter Lauri

« previous php.general (#246581) next »