For the installation of EasySocial to commence, the PHP on the server requires the zip module to be enabled or compiled with PHP. The reason is that we need to utilize the zip library to extract and decompress the zip archives on the site.
Installing PHP Zip Library Using YUM on Linux/OSX
It is pretty easy to setup PHP with a zip library on Linux, since everything can be done using YUM. Those that are unfamiliar with YUM, should start utilizing it now. You can learn more about YUM on Wikipedia.
sudo yum install php-zip
sudo httpd restart
Enabling PHP Zip Library Windows
To setup PHP with zip library on Microsoft Windows machines, you should only need to edit the php.ini file which is normally located at C:\Windows\System32\php.ini. The folder may differ and you can find out the loaded php.ini configuration file via the PHP Information in Joomla.
- Open the
php.inifile using your favorite editor. - Find the
extension=php_zip.dllwithin this file. - Uncomment it by removing the semi-colon (;) in front of it.
- Restart the apache server.
# In the file, locate the following codes
;extension=php_zip.dll
# Remove the preceding ; and the code should look like the below:
extension=php_zip.dll