During installation, it appears that the install system ignores that there might be profiles/modules that have a php = 5.3
(or whatever) requirement in their .info file. It blithely installs regardless, which can cause all manner of problems (fatal errors, etc.). See #1724012: Parse error: syntax error, unexpected T_FUNCTION in PHP 5.2 for more info.
Once the profile is installed, the modules page correctly shows an "X", not allowing you to turn it on (or, in this case, turn it off). Drush seems to ignore these requirements entirely and will let you dis/en whatever you want.
I'm filing this as a "major" because even though requiring a certain version of PHP isn't entirely widespread, what happens is completely broken behaviour.
Comment | File | Size | Author |
---|---|---|---|
#4 | Extend___Site-Install.png | 120.25 KB | jhedstrom |
Comments
Comment #1
webchickI believe the culprit is drupal_verify_profile(), which only checks for missing dependencies, not whether their PHP versions match. (it doesn't load the .info files at that point to check).
Comment #2
willvincent CreditAttribution: willvincent commentedIf #1322890: Add a property to .info files to allow modules to specify required php extensions makes it into core, it too may be affected by this.
Comment #3
webchickDemoting to normal.
Comment #4
jhedstromThis is fixed in 8.x, it might still be an issue in 7.x.