Drupal 6 modules should declare the PHP version they require by putting a line like php = 5.2 in the .info file of the module.

Comments

xano’s picture

I have no idea how to find out the exact version it requires, do you?

avpaderno’s picture

Project: Last.fm for user profiles » Last.fm library

I am sorry; this report was supposed to be for Last.fm library.
Last.fm library defines classes that only PHP5 can use, therefore it must declare its dependency from that version of PHP with a line like php = 5 in its .info file.

xano’s picture

Ah, the classes, of course. Thank you very much for pointing this out!

xano’s picture

Title: Declare the dependency from PHP5 in lastfm_profile.info » Declare PHP5 dependency in info file
Assigned: Unassigned » xano
Priority: Normal » Critical
Status: Active » Fixed

Fixed and committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

xano’s picture

Assigned: xano » Unassigned