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 |
Jump to:
Description
That's it. 5.0 will not work at all with fquery in the modules directory once fquery has been activated.

#1
Without any more details, I'm guessing this is a duplicate of http://drupal.org/node/100719.
#2
Need more info. If it is indeed the same issue, then it is 'by design'.
#3
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
this will stop module enable when host doesn't have php5