[development] Drupal 6 contribs can define a minimum PHP version

Gabor Hojtsy gabor at hojtsy.hu
Wed Jun 27 18:30:21 UTC 2007

Hello World,

Just committed Crell's and dww's patch to add support to Drupal 6 for 
modules and even themes to specify the minimum PHP version requirements. 
This allows developers to publish PHP 5 only modules and themes (think 
XML output for Flex or OpenLaszlo apps in the area of themes, or crazy 
image manipulation). Anyway, being in the .info files, this will also 
allow project module to automatically present a compatibility chart for 
modules and themes.

By default, all modules and themes are supposed to be compatible with 
the present-time minimum PHP requirements of Drupal, if not specified 

Thanks again to Crell and dww for the quick reaction to the ideas 
popping up! I hope this helps energize the PHP 5 pushing efforts for 
Drupal 6 contributed functionality.


More information about the development mailing list