Your PHP version does not support ZipArchive.

Hi

   I am trying to use h5p on my WordPress site. I installed and activated the plugin but I throwing the below error message. Even I tried to fix but it is not working.

Error: 

  • Your PHP version does not support ZipArchive.
  • H5P hub communication has been disabled because one or more H5P requirements failed.
  • When you have revised your server setup you may re-enable H5P hub communication in H5P Settings.

I have installed the zipArchive on my PHP server but still, the same issue exists. how can i fix this issue?

 

 

 

 

 

BV52's picture

Hi dataonmyview,

In order to give your bug report the best chance of getting answered, please include the following information:

  1. Detailed steps to reproduce the bug (exactly how and when did it happen)
  2. Platform and version number. E.g. Drupal, Wordpress, Moodle.
  3. Mobile or Desktop
  4. Browser: Chrome, Firefox, Safari etc
  5. H5P plugin version
  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P.
  7. Any browser console errors
  8. PHP version
  9. Any PHP errors
  10. Screenshots if it's a visual problem

The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!

-BV52

Hi

 Thanks for the response. Please check the detailed information below.

An issue occurred when I install and activate the plugin. Check the below attached screenshot. 

.https://1drv.ms/u/s!Au-3cvWWQ6dlhN0fdADjEBoeeD5A4Q

Wordpress version - 4.9.4

Platform - on both Desktop & Mobile

Browser - Chrome

H5P Plugin Version - 1.10.1

PHP Version - 1.0.6

There are no other errors.

Attachments: 

Hi

 

  Thanks for the response. Please check the detailed information below.

An issue occurred when I install and activate the plugin. Check the below screenshot. 

https://1drv.ms/u/s!Au-3cvWWQ6dlhN0fdADjEBoeeD5A4Q

Wordpress version - 4.9.4

Platform - on both Desktop & Mobile

Browser - Chrome

H5P Plugin Version - 1.10.1

PHP Version - 1.0.6

  • There is no other errors.
Attachments: 
BV52's picture

Hi dataonmyview,

The generic H5P part of the plugin should support PHP versions as low as 5.2 – However, you should always try to stick to the newest supported version available: http://php.net/supported-versions.php
This has to do with the security of your site, data, and users.

Make sure that you enable the ZipArchive extension in PHP as it's required.

-BV52

Hello,

When i try to add new content ,the below warning message is showing

  • Your PHP version does not support ZipArchive.

My php version is php 7.2.34

My wordpresss version is 5.7.

 

BV52's picture

Hi rekha_carillon,

Please make sure that ZipArchive is enabled.

-BV