We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14779
    • 256 Posts
    I got this message int he configuration tab of the manager after installing 1.0.4:

    ’GD and/or Zip PHP extensions not found’

    I’m running this on a VPS that I own, with several other modx sites installed. I also just double checked, and GD is definitely working, as shown by phpinfo:

    GD Support 	enabled
    GD Version 	bundled (2.0.34 compatible)
    GIF Read Support 	enabled
    GIF Create Support 	enabled
    JPEG Support 	enabled
    libJPEG Version 	6b
    PNG Support 	enabled
    libPNG Version 	1.2.10
    WBMP Support 	enabled
    XPM Support 	enabled
    XBM Support 	enabled 
    



    Not sure exactly what I need to do to add zip module.
      PM me to find out how you can get a FREE ipad 2!
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      1. The zip isn’t really necessary; it’s only used in the Manager’s file manager if you want to unzip something from the file manager.

      2. Depending on your operating system, you may simply need to enable the zip feature in PHP by uncommenting or adding a line to the php.ini file, or you may need to recompile PHP to include the zip libraries.

      http://www.php.net/manual/en/zip.installation.php
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 32599
        • 21 Posts
        Hi I have the same problem when installing 1.0.4.
        I’ve installed 1.0.2 on the server and I don’t get this error?
        Here’s the phpinfo for both versions:

        ---------------------------------------------------------------------------------------
        php info for version 1.0.2
        
        gd
        
        GD Support	enabled
        GD Version	bundled (2.0.34 compatible)
        FreeType Support	enabled
        FreeType Linkage	with freetype
        FreeType Version	2.1.9
        GIF Read Support	enabled
        GIF Create Support	enabled
        JPG Support	enabled
        PNG Support	enabled
        WBMP Support	enabled
        XBM Support	enabled
        
        
        zip
        
        Zip	enabled
        Extension Version	$Id: php_zip.c 287723 2009-08-26 02:16:41Z guenter $
        Zip version	1.8.11
        Libzip version	0.9.0
        
        ----------------------------------------------------------------------------------------
        
        php info for version 1.0.4
        
        gd
        
        GD Support	enabled
        GD Version	bundled (2.0.28 compatible)
        FreeType Support	enabled
        FreeType Linkage	with freetype
        GIF Read Support	enabled
        GIF Create Support	enabled
        JPG Support	enabled
        PNG Support	enabled
        WBMP Support	enabled
        XBM Support	enabled
        
        there is no info for zip
        
        -----------------------------------------------------------------------------------------
        


        What’s the problem with 1.0.4?
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          It’s not a problem exactly; it’s a new "feature" to let site admins know when one or both of these PHP extensions are not available. The zip extension is actually only used by the Manager’s file manger if you want to unzip a .zip file you’ve uploaded. There are a number of ways you can deal with this; of course the best way would be to get the extension enabled in your server’s PHP. Otherwise, you can suppress the message in several ways. I’ve written a plugin to suppress only that specific message; you can also use ManagerManager to remove or hide the tab. 1.0.4 also has a configuration option to only show the message to "admin" users.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 25803 ☆ A M B ☆
            • 721 Posts
            Note that Zip is also required for Easy 2 Gallery, at least that’s what it says when I’ve installed it. One of my service providers has it and it installed. Another does not and the install button is ghosted out for Easy 2 Gallery. I imagine other modules may need it as well.
              • 32599
              • 21 Posts
              Sorry but I’m a little bit confused, it must be available if it’s there for 1.0.2 on the same server.
              Am I missing the point?
                • 18373 ☆ A M B ☆
                • 3,141 Posts
                Quote from: wolfie at Jul 01, 2010, 02:47 PM

                Sorry but I’m a little bit confused, it must be available if it’s there for 1.0.2 on the same server.
                Am I missing the point?

                Perhaps it wasn’t checking for it in 1.0.2? tongue Things do get updated sometimes wink

                Best way to see if it’s available is looking through your phpinfo().
                  Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

                  Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  The check wasn’t added until 1.0.3

                  1.0.4 added the Configuration option to only show it to admin users.
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 32599
                    • 21 Posts
                    Perhaps it wasn’t checking for it in 1.0.2? Things do get updated sometimes
                    ok, I understand now, silly me rolleyes

                    Cheers smiley
                      • 32599
                      • 21 Posts
                      I just asked my hosting provider to enable php zip extensions and this is the reply I got.
                      BTW I have a reseller account with this company if that makes any difference.

                      Thanks for your ticket. Unfortunately it is not possible to install the PHP zip extensions on the shared hosting platform because of performance reasons. It uses too much in the way of server resources and I am afraid we can not run it on anything less than a dedicated server.

                      Is this statement correct that performance would be effected or is it they won’t enable it so I would have to buy a dedicated server?
                      I’m sorry to post this here but I don’t really know if this is correct and I think it’s relevant to my first post on this topic.

                      Any advice would be greatly appreciated.