The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ZipArchive library is not enabled

Discussion in 'General Discussion' started by piyush_lahoti, Oct 10, 2014.

  1. piyush_lahoti

    piyush_lahoti Registered

    Joined:
    Oct 10, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    When I try to upload for read .xlsx file, It throws exception as ZipArchive library is not enabled
    When I use this code in my local server the code is work properly in WAMP server.
    Any one can suggest me how can i fix this exception?
     
  2. mageshm

    mageshm Well-Known Member

    Joined:
    Apr 17, 2014
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Chennai, INDIA
    cPanel Access Level:
    DataCenter Provider
    @ piyush_lahoti,

    It seem's you are having root access, So recompile the easy apache with ZipArchive library to solve your issue.

    Make sure it will take shot while, so do it according that.
     
  3. piyush_lahoti

    piyush_lahoti Registered

    Joined:
    Oct 10, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks Mr. mageshm, For your suggestion
    I am new to CPanel with PHP So I have no idea about how to recompile the easy apache with ZipArchive library.
    Please Can you describe me in detail.

    Just FYR: On GoDaddy I have VPS (Virtual Private Server) and on that I have deployed all my services. (including Excel related service)
     
  4. triantech

    triantech Well-Known Member

    Joined:
    Jul 1, 2014
    Messages:
    145
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Kochi, India, India
    cPanel Access Level:
    Root Administrator
    Hello,

    You can install the zip module for PHP by going to the WHM and search for "Apache Update."
    Proceed through to the steps, selecting the Apache and PHP version and then then click "Exhaustive Options list."
    Under PHP, check the box labeled "Zip." Then click the button to begin the compile process.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page