PHP log not rotating because of permission fault