Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: Tank on September 29, 2012, 05:34:48

Title: ZIP is not supported by your PHP installation!
Post by: Tank on September 29, 2012, 05:34:48
This is only on my live test host.
I tried installing a template through Extensions > Install & Update
Also, tried to install through EDC.

I get this error:
Code: [Select]
ZIP is not supported by your PHP installation!
I check the phpinfo() and do not see zip supported. :-\
So, just a suggestion... during elxis install, maybe install can check to see if server php has zip enabled?
If not installed, maybe some helpful links to how/where we can install the zip or even a warning that without zip, EDC may not work and user has to install extensions manually.

Is there any workaround for this issue besides installing zip support?
Thanks!

On my local machine with php zip installed, it works fine. :)
Title: Re: ZIP is not supported by your PHP installation!
Post by: datahell on September 29, 2012, 15:04:43
If zip library (zlib) is not installed in your server you must first install it.
Then you must compile php with zip support or use a pre-compiled php version with zip support included (–enable-zip)
Without zip support elxis functionality will be very limited.
Title: Re: ZIP is not supported by your PHP installation!
Post by: Tank on September 29, 2012, 17:17:00
If zip library (zlib) is not installed in your server you must first install it.
Then you must compile php with zip support or use a pre-compiled php version with zip support included (–enable-zip)
Without zip support elxis functionality will be very limited.

I know.
I was asking if you think adding a check for (if) zip is available during installation would be a good idea for future users?
If zip is not available to display a warning like what you said "Caution: zip library not installed. Without zip support elxis functionality will be very limited"

Just a thought. 8)
Title: Re: ZIP is not supported by your PHP installation!
Post by: rentasite on September 29, 2012, 20:44:18
I was asking if you think adding a check for (if) zip is available during installation would be a good idea for future users?

This could be done, by adding "Requirements" in Elxis 4.x Documentation (if not already done - elsewhere).
Title: Re: ZIP is not supported by your PHP installation!
Post by: datahell on September 29, 2012, 21:44:53
We consider zip as PHP built in.
So there are no special requirements by Elxis for zip and no reason to warn users.

zip support is available by default in the majority of the web servers.
The same is for GD library for handling images.

The only special requirement Elxis 4.x has is PDO, which is also built-in in newer PHP versions.
Title: Re: ZIP is not supported by your PHP installation!
Post by: Tank on September 29, 2012, 22:49:33
I see, okay.

I did not know that. Somehow my host did not have it but my localhost had is default like you said. ;D
Thanks for all your time.
Title: Re: ZIP is not supported by your PHP installation!
Post by: jimmyz on January 20, 2013, 10:23:55
Hi all. Long time no see.  8)

There is a  strong possibility for one having the xampp 181 linux version (locally), not to be able to enable the zip support. It is not enabled by default. The solution is to find and copy zip.so to /opt/lampp/lib/php/extensions/no-debug-non-zts-20100525. Please read below for details.
Code: [Select]
http://www.apachefriends.org/f/viewtopic.php?f=17&t=52369