Ensure that dir `D:\htdocs\hack\storage\framework/sessions` exist and writable. If not you can create using `$ mkdir D:\htdocs\hack\storage\framework/sessions`. And then run `file_put_contents()`