I attempted to update the webform_validation module from 7.x-1.5 to 7.x-1.7 to find that it was no longer working on my site. Upon further investigation, I found that the module was disabled and now has a message that it requires PHP 5.3+ to work. At present, we are unable to update our PHP version from PHP 5.2.17 (this is a project in process, but how long it will take is variable). With Drupal 7 core only requiring 5.2.5 and higher ( https://www.drupal.org/requirements ), I expect that modules for D7 will run under those same requirement levels. This module, however, no longer does.

I wanted to put this in the issue queue so that hopefully the module can be modified to work with PHP 5.2 again. Also, in case there are others who have tried to update this module and wondered why it was no longer working, here is the reason. I don't know how ingrained the PHP 5.3 requirement is in the module; it could be one function call, it could be exceptionally dependent.

Comments

Liam Morland’s picture

Status: Active » Closed (won't fix)

Support for PHP < 5.3 was dropped in #2312019: API change: Remove _webform_validation_preg_quote() and require PHP 5.3. PHP 5.2 has been unsupported for almost 4 years. Really, the time to upgrade was long ago!

In any case, Webform also requires PHP 5.3, so there is no point in Webform Validation supporting older versions. If you are using an older version of Webform, you can use an older Webform Validation.

TheLioness22’s picture

I agree that it is old. Antiquated, even. Were it up to me, it would have been upgraded long ago!

Thanks for the link to the issue where it was determined that PHP 5.3 was required for this module. I hadn't seen it in the upgrade notes. I was also unaware that Webform required PHP 5.3 since I had not seen difficulties with updating it. Looking at the project page now, I see that is because we are still on 7.x-3.x rather than 7.x-4.x.

The additional information is helpful. Maybe this information can be used for me to strongly encourage TPTB to upgrade our servers. :)