Bonjour,
J'ai un problème d'autorisation avec ce simple test d'éciture de fichier:
$filename = "/testfile.txt";
$mfile = fopen($filename,'w');
$str = "Ecriture Ok...";
fwrite($mfile,$str);
fclose($mfile);
J'obtiens "permission denied". Quelque chose cloche dans ma config php/Apache (php.ini, httpd.conf,...), mais je ne sais plus trop où chercher.
Ma config : linux avec php comme module Apache.
Merci pour votre aide...