note 128895 added to function.zip-open
| From: | matti at belle-nuit dot com | Date: | Sun, 17 Sep 2023 18:07:01 +0000 |
| Subject: | note 128895 added to function.zip-open | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220855@lists.php.net to get a copy of this message | ||
ZIP on PHP is a broken.
ZipArchive has been removed from the core with 7.4
zip_open() has been removed from PHP 8.1 for ZipArchive::Open() but which is not built in.
If you are on a vanilla cPanel installation and cannot control the PHP extensions, you can simply
not use ZIP with PHP anymore.
I have an older polyfill to create ZIP archives from PHP 4 that still works. Is there a polyfill for
zip_open()?
Or should I give up ZIP as an archive format and move to...?
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.157.134 (proxied: 178.197.206.28)
----
Manual Page -- https://php.net/manual/en/function.zip-open.php
Edit -- https://main.php.net/note/edit/128895
Del: integrated -- https://main.php.net/note/delete/128895/integrated
Del: useless -- https://main.php.net/note/delete/128895/useless
Del: bad code -- https://main.php.net/note/delete/128895/bad+code
Del: spam -- https://main.php.net/note/delete/128895/spam
Del: non-english -- https://main.php.net/note/delete/128895/non-english
Del: in docs -- https://main.php.net/note/delete/128895/in+docs
Del: other reasons-- https://main.php.net/note/delete/128895
Reject -- https://main.php.net/note/reject/128895
Search -- https://main.php.net/manage/user-notes.php