Enable zip extension


Enable zip extension for php with apache by:

1- Un-commenting zip.so in /opt/lampp/etc/php.ini. (The latest version of XAMPP, as of this article, is compiled with zip support for PHP but you need to follow the few steps mentioned here to enable it and make it work).

2- Un-commenting and updating the path of the extension_dir in php.ini (extension_dir = “/opt/lampp/lib/php/extensions/no-debug-non-zts-20100525”)

3- Downloading zip.so into the Extension Dir.

You can download the modified php.ini, httpd.conf and the zip.so described above here:

Download php.ini 
Download zip.so 
Download http.conf file

Clear browser cache.

Stop and start XAMPP
/opt/lampp/lampp stop
/opt/lampp/lampp start

Reference article : http://www.bostonit.com/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s