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,143
  • 18
  • 45
  • 78

0 Answers0