Problem solved!
Turns out it was the fact that OpCache was installed and enabled during the upgrade from EasyApache 3 to EA 4. Logging in as root and using the EasyApache 4 configuration tool, it was an easy matter to remove opcache.
Result: No more problems with installing H5P modules or SCORM packages.