-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to unzip a file. #50
Comments
See php error log. Try: $directory = __DIR__ . '/resources/test'; |
That is not the error, when I extract the files, the server shuts down and does not throw any error. |
Try cli mode and check the error log. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good Morning.
I have recently been testing this library and I found it very good, but I have a small error decompressing my zip file.
I am working on a game server.
$directory = '/resources/test';
if(!is_dir($directory)){
mkdir($directory, 0755, true);
}
$zipFile = new \PhpZip\ZipFile();
$zipFile->openFile("test.zip");
$zip->extractTo($directory);
$zip->close();
The server only does not respond and shuts down.
The text was updated successfully, but these errors were encountered: