我将 Laravel/vue3 项目上传到主机。然后我运行 npm run build,然后运行 php artisanserve。 一切都很好。项目顺利运行。过了一会儿,当我对项目做了一些更改时,然后停止服务器,然后再次运行 php artisanserve 。 **我收到以下错误:
Symfony\Component\Process\Exception\RuntimeException
A temporary file could not be opened to write the process output:
fopen(/tmp\sf_proc_00.out.lock): Failed to open stream: No such file or directory**
at vendor\symfony\process\Pipes\WindowsPipes.php:63
59▕ if (file_exists($file.'.lock')) {
60▕ continue 2;
61▕ }
62▕ restore_error_handler();
➜ 63▕ throw new RuntimeException('A temporary file could
not be
opened to write the process output: '.$lastError);
问题是什么?我上传了另一个项目,然后收到相同的错误消息。 有人可以帮助我吗?
问题可能来自 php.ini 配置。检查此文件中的文件信息扩展名。