Validating h5p package failed

Hello!

  1. I'm using Wordpress 4.9.6 Chinese version
  2. Just installed H5P, switched to PHP5.6 and enabled H5P hub in the settings.
  3. When I'm trying to create a new content by installing "Multiple Choice", it shows that "Validating H5P package failed"
  4. It shows that my PHP version doesn't support zip compression. I have checked my PHP info here (http://www.paintmob.com/tz.php) and it seems that zip, mbstring and openssl have been enabled.

Can anyone help? Thanks very much!

Terry

BV52's picture

Hi Techong,

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. 

You can also try to download the examples on this page and see if that takes care of the issue.

-BV52

Thanks BV52. I check with the administrator and it may be my subscription problem, i.e. I'm using a shared server and he said he couldn't let me change mbstring authority....:-( 

Techong