Switch from commandline zip/unzip to PHP ZipArchive class

Bug #1338381 reported by Aaron Wells
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Jono M
15.10
Fix Released
Undecided
Unassigned

Bug Description

We get a steady stream of support requests from people on shared hosting or Windows, who can't find their command-line zip & unzip utilities.

There's really no reason for us to be using those anymore, though. PHP 5.3 ships with a fully functional zip library, and we should use that instead: http://nz1.php.net/manual/en/book.zip.php

Tags: snack-sized
Jono M (jonom)
Changed in mahara:
assignee: nobody → Jono Mingard (mingard)
status: Confirmed → In Progress
Revision history for this message
Aaron Wells (u-aaronw) wrote :
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/4762
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/46d61c4ecdf6fe531b66fb1185e4ca146d7cb2a1
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 46d61c4ecdf6fe531b66fb1185e4ca146d7cb2a1
Author: Jono Mingard <email address hidden>
Date: Fri May 15 14:46:21 2015 +1200

Use ZipArchive for export and import (Bug #1338381)

Removes the dependency on commandline zip/unzip utilities in
favour of PHP's ZipArchive class

Change-Id: Id7f0833edd36529ac778feb9cbe97d4eb70f403c

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
milestone: none → 15.10.0
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.