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.

Zip Extension.

Discussion in 'General Discussion' started by X_JuDaH_X, Feb 9, 2015.

  1. X_JuDaH_X

    X_JuDaH_X Registered

    Joined:
    Feb 9, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have switched over to a VPS server about a month ago. Everything is pretty straight forward and easy.
    But I have ran into one problem and I cannot seem to figure it out. I have a site where you can create aform and download the zip file. Yet I am getting an error. ("This application requires the Zip extension you will not be able to download zips unless you install this extension.")
    I have looked all over to find this extension. I thought it was already enabled via php.
    Any help would be appreciated. I have root access. I can get to WHM and CPanel...
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,381
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    You can probably do this through EasyApache, and someone will probably chime in pretty soon with details on how to do that.

    But for me, I always thought it was easier to:

    Download PHP source from php.net

    Run a phpinfo() off of the current PHP install.

    Grab the ./configure line from that output.

    Tack an '--enable-zip' at the end of the configure line.

    Run that modified configure line from the downloaded and extracted PHP source.

    make

    make install

    Done


    The EasyApache way is probably going to be easier for someone that's not familiar with the command line and compiling code. But I like the straight-forwardness of my approach.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

Share This Page