0

I create log file from this command

shell_exec("node  node-server\socket.server.js > node.log");

and I want remove this file without stop service. when I use this command

 unlink('node.log');

show me this error

unlink(node.log): Permission denied

paranoid
  • 6,799
  • 19
  • 49
  • 86

0 Answers0