<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello, I am running FC20 86_64.<br>
I have websites (imported from a previous FC version) which call
writing data to files, namely by opening the file with fopen<br>
<br>
Hereunder the simple code which is run:<br>
===================<br>
$TEXT = fopen($fichier, "a");<br>
fputs($TEXT,$page);<br>
fclose($TEXT);<br>
===================<br>
<br>
I receive following notice:<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<b>Warning</b>: fopen(guestbook.txt): failed to open stream:
Permission denied in <b>/var/www/html/IAAM/guestbook/index.php</b>
<br>
I have checked all permissions and they look OK<br>
I have added selinux lines like : httpd_can_network_connect on<br>
I have enabled some lines in php.ini like: allow_url_fopen and
allow_url_include on<br>
A strange thing: the page containing fopen is called index.php; I
cannot chown/chgrp/chmod it. If I force it, automatically after
running the script, returns to the previous position.<br>
<br>
I have found hords of items quoting this issue, but could not find
any sound answer.<br>
So far I had no such problem with previous FC OS<br>
<br>
Thank you for your help<br>
<br>
Daniel<br>
</body>
</html>