Add PHP version check to hook_requirements()

halfelven - December 20, 2006 - 00:59
Project:fQuery
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

That's it. 5.0 will not work at all with fquery in the modules directory once fquery has been activated.

#1

kitt - January 13, 2007 - 06:52

Without any more details, I'm guessing this is a duplicate of http://drupal.org/node/100719.

#2

Steven - January 20, 2007 - 04:55
Status:active» active (needs more info)

Need more info. If it is indeed the same issue, then it is 'by design'.

#3

pjb - January 31, 2007 - 12:27

Hi,

I'm guessing this is the same issue that's occurring when everyone with PHP4 installs this module.

You might want to consider updating fQuery's description and adding some notes into the README.txt of the package stating that PHP5 is required. I didn't see it in the documentation or on your site anywhere. It'd probably save everyone some panicking and you a lot of mouse clicks to close issues :)

pjb

#4

moshe weitzman - January 31, 2007 - 19:37
Title:installing fquery kills 5.0» Add PHP version check to hook_requirements()

this will stop module enable when host doesn't have php5

 
 

Drupal is a registered trademark of Dries Buytaert.