Add a property to .info files to allow modules to specify required php extensions

Created on 26 October 2011, over 13 years ago
Updated 7 May 2025, 5 days ago

I have seen a handful of modules over the past few years that have implemented this kind of check somewhere within the module code, but it would be a nice addition for .info files to be able to declare specific php extensions a module requires in order to properly function.

If those extensions are not available, the module should not be allowed to be enabled.

Follow up issues:
πŸ“Œ Move module/extension compatibility/requirements checking from System module into module.inc Closed: outdated

✨ Feature request
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

system.module

Created by

πŸ‡ΊπŸ‡ΈUnited States willvincent

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • API addition

    Enhances an existing API or introduces a new subsystem. Depending on the size and impact, possibly backportable to earlier major versions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024