ZipArchive(PHP)で作成したZIPファイルにおいて、Linux or macOS 環境では文字化けしませんが、Windowsでは日本語が文字化けが発生することがあります。
その対策。
社員同士のゆるーい情報交換ブログです
|
1 |
Vagrant was unable to mount VirtualBox shared folders. |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... (略) default: Guest Additions Version: 5.0.6 default: VirtualBox Version: 6.0 ==> default: Mounting shared folders... default: /mnt/fuelphp => /Users/username/sharedir Vagrant was unable to mount VirtualBox shared folders. This is usually because the filesystem "vboxsf" is not available. This filesystem is made available via the VirtualBox Guest Additions and kernel module. Please verify that these guest additions are properly installed in the guest. This is not a bug in Vagrant and is usually caused by a faulty Vagrant box. For context, the command attempted was: |
|
1 2 3 4 5 6 |
''を忘れずに。 $ php -r 'phpinfo();' 量が多いので、grepを使ったほうが良いと思います。 $ php -r 'phpinfo();' | grep 'enable' |
原因
書籍『土日でわかるPHPプログラミング教室』の donichi_samplesource_ver2.0.zip で発生しました。
それ以外のZIPは展開できたんですけど、これはエラーが出ました。