0
0

ファイル名を変えただけなのに、PHPでFailed to open stream: No such file or directoryが出る

Posted at

これが正解ではないですが一度試してみてください。

もしMacを使ってDocker環境で開発中で、
ローカルのディレクトリをvolume mountしているとかの場合で
ファイル名を変更したらなぜかNo such file or directoryになってしまったら
一回、Dockerコンテナをstopなりして停止して、
再度runしてみてください
これで解決するかもです。

ファイル名を変更しても実際lsは動くけど、grep出来なかったり動作が不安定です。
多分Volumeの不整合が起きている可能性があるので、一度試してみると良いです

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0