Installing ZZIPLIB on XAMMP on MAc OS 10.6

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Installing ZZIPLIB on XAMMP on MAc OS 10.6

Postby kkatusic » 30. August 2011 13:17

I have never installed some PHP library on my mac. I don't know in which folder to add that library and I don't know how run that install from console.
Is there any tuts how to do that?

Thx

- library: ZZIPLIB 0.10.82
- XAMMP 1.7.3
- PHP Version 5.3.1
- Mac OSX 10.6.8
kkatusic
 
Posts: 3
Joined: 30. August 2011 13:10

Re: Installing ZZIPLIB on XAMMP on MAc OS 10.6

Postby JonB » 31. August 2011 00:52

Run your phpinfo() page (XAMPP)

A - I think what you want is already installed

B - you might just have uncomment the extension in php.ini (very likely)
-- look for the extension name, remove the semi-colon in front - save file

it might be:
extension="zziplib.so"

(sorry no Mac here for test on)

http://www.apachefriends.org/en/xampp-macosx.html -

86 MB Apache 2.2.14, MySQL 5.1.44, PHP 5.3.1, Perl 5.10.1, ProFTPD 1.3.3, phpMyAdmin 3.2.4, OpenSSL 0.9.8k, GD 2.0.35, Freetype 2.3.5, libjpeg 6b, libpng 1.2.32, libungif-4.1.4, zlib 1.2.3, expat 2.0.1, Ming 0.4.2, Webalizer 2.01-10, pdf class 009e, mod_perl 2.0.4, SQLite 3.6.3, gdbm-1.8.3, libxml-2.7.2, libxslt-1.1.24, openldap-2.3.43, imap-2004g, gettext-0.16.1, libmcrypt-2.5.8, mhash-0.9.9, zziplib-0.13.48, bzip2-1.0.5, freetds-0.64
MD5 checksum: fcbd4b14461a5b9e7a817f99defd0be2

That's a more recent release than what you quoted -

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Installing ZZIPLIB on XAMMP on MAc OS 10.6

Postby kkatusic » 31. August 2011 08:22

thx for help.

I check my php.ini, but I did't find zziplib library installed.
kkatusic
 
Posts: 3
Joined: 30. August 2011 13:10

Re: Installing ZZIPLIB on XAMMP on MAc OS 10.6

Postby JonB » 31. August 2011 15:39

The same is true on the Linux variant, those are system libraries, not PHP extensions.

I'm working now, but - I did an experiment earlier, and I will post the results later - it should tell you how to proceed.

Good Luck

8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Installing ZZIPLIB on XAMMP on MAc OS 10.6

Postby kkatusic » 31. August 2011 17:34

Thx you for answers I found new solution, PHP already has zip library:

- first I read manual

http://www.php.net/manual/en/zip.requirements.php

- and use some function:

http://www.bjw.co.nz/developer/php/62-p ... -using-php

and I made unzip. Sorry for disturbing you, I looked in some blog post and man said that I must use only zziplib.
kkatusic
 
Posts: 3
Joined: 30. August 2011 13:10


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 66 guests