We often see people having these problems:
Too old PHP version
SSL extension not installed
mbstring extension not installed
Max upload size too small
It should not be possible to install/activate H5P on a system when we know the system will make H5P fail.
I have started on a requirement-tester some time ago:
This could be used by the different platforms as follows:
Moodle - https://docs.moodle.org/dev/Environment_checking#Configuration_file_overview (Look at the custom checks section)
Wordpress - use @trigger_error() in h5p_activate() when requirements are not met
Should not be possible to activate if requirements are not met.
TBD: How to use this on existing sites? Should we run the tests in a upgrade hook, and warn the admin about any mandatory stuff missing?