Wordpress - PHP version does not support ZipArchive?

Hi everyone, 

I installed the H5P plugin on Wordpress the other day. 

The error that came up when trying to Add New content says

Validating h5p package failed.

Your PHP version does not support ZipArchive.Get help

So I tried a couple of things first. I downgraded the PHP version twice, first from 8.1 to 8.0 and then when that didn't work downgraded it to 7.4. 

It still doesn't work, so I've no idea what to do now but I have contacted my domain host to see if there is anything they can do. 

Does anyone else have anything else I can try?  It doesn't say on the H5P website what php version it supports? 

Many thanks

Catherine

Attachments: 
Content types: 
otacke's picture

Hi!

You do not need to worry about the PHP version (although I don't think the H5P plugin for WordPress has been fully tested on 8), but just need to make sure that PHP's zip extension has been installed on the server.

Best,

Oliver 

I got it sorted with my host provider. 

Now I have a new problem (new post!) 

Catherine