A temporary file could not be opened to write the process output: fopen(C:\Users\elbak\AppData\Local\Temp\sf_proc_00.out.lock): failed to open stream: Permission denied laravel code example

Example 1: at C:\Users\Kamyar\web-pages\telebot\vendor\symfony\process\Pipes\WindowsPipes.php:63 laravel error

if (file_exists($file) && !@unlink($file))

Example 2: at C:\Users\Kamyar\web-pages\telebot\vendor\symfony\process\Pipes\WindowsPipes.php:63 laravel error

[ErrorException]
  unlink(C:\Users\ferna\AppData\Local\Temp\sf_proc_00.out): Permission denied

Script php artisan optimize handling the post-update-cmd event returned with error code 1

Tags:

Php Example