My web host, Earthlink doesn't support php 5.1. What would I need to do to get this module to work under 5.0.5? Thanks.

Comments

ppblaauw’s picture

Hi Steve,

I am not familiar with the differences between PHP 5.05 and PHP 5.1.

Recommended for Drupal 6 is PHP 5.2 or higher

What are the problems you encounter with the Dynamic display block module on PHP 5.0.5?

Philip

nevets88’s picture

In the admin/modules page, the option to enable it is disabled. If it's not possible to get it to work under 5.0.5 with a quick fix, I'll update to 5.2. Thanks.

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

Steve,

The php5.1 requirement comes from the ddblock.info file. This is copied from another info file which had it.

Looked at the Drupal documentation and found this:

php (Optional)
As of version 6.x, module and themes may specify a minimum PHP version that they require. They may do so by adding a line similar to the following to their .info file:
php = 5.1

That specifies that the module/theme will not work with a version of PHP earlier than 5.1. That is useful if the module makes use of features added in later versions of PHP (improved XML handling, object iterators, JSON, etc.). If no version is specified, it is assumed to be the same as the required PHP version for Drupal core. Modules should generally not specify a required version unless they specifically need a higher later version of PHP than is required by core. See the PHP Manual for further details on PHP version strings.

You can just delete the PHP line in the info file.
Hope this will solve your problem.
Please let me know by posting your reply on this issue.

Thanks for reporting,

Philip

ppblaauw’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Set status to closed: 9 weeks without response.
Assume the solution worked for the poster of the issue.
PHP version deleted in release RC3 and later.