phar 打包后 问题

yzh52521

PHP Warning: mkdir(): Read-only file system in build/webman.phar/vendor/webman/console/src/Application.php on line 24

Warning: mkdir(): Read-only file system in build/webman.phar/vendor/webman/console/src/Application.php on line 24

In Application.php line 25:

Failed to create runtime logs directory. Please check the permission.

2817 1 0
1个回答

yzh52521

phar.readonly = Off 已经关闭了

  • 北月 2022-04-29

    如果需要使用 Phar 打包,需要自己修改runtime目录和logs目录

  • 北月 2022-04-29

    Phar file本身就是readonly,不支持外部写入数据

年代过于久远,无法发表回答
×
🔝