I am using file_put_contents
writing to a file and I'm getting duplicate content ... written 2x and 1x litura
file_put_contents($_SERVER['DOCUMENT_ROOT'].'/test/test.tmp', '1 ', FILE_APPEND);
contents of test.tmp
11
already restarted apache and I am accessing directly without htaccess.