SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Addict
    Join Date
    Jan 2005
    Posts
    204
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question ZipArchive Class not found

    I am looking for some good light weight zip libraries and the ZipArchive class in the PHP manual seems pretty good. http://sg.php.net/manual/en/ref.zip.php
    But I can't get it work. It keeps saying the class is invalid. Do I need anything for the ZipArchive to work?

    If it still doesn't work then I will have to use the zip library in PEAR.

    thanks.

  2. #2
    SitePoint Wizard bronze trophy Immerse's Avatar
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    1,661
    Mentioned
    7 Post(s)
    Tagged
    1 Thread(s)
    Yeah, you need the ZIP extension: http://pecl.php.net/package/zip

    It may be bundled (can't remember) but you'll need to compile it in (if you use Linux) or activate it in php.ini (if you're on Windows).


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •