I am wondering if PHP version 5.3 is essential for version 7.x-1.6 of Webform Validation? My webhost currently only supports PHP version 5.2, so I got an error message when I updated Webform Validation to version 7.x-1.6. I tried a work-around of changing the PHP version specified in the module .info file from 5.3 to 5.x and that seems to have worked. But while the module installed without any errors and appears to be functioning as expected, I'm wondering if amending the .info file will have any ramifications down the line?

Comments

Liam Morland’s picture

Status: Active » Fixed

PHP 5.3 is required. PHP 5.2 has not been supported since January 6, 2011. If your host is still running this old, insecure version, it is time for a new host.

That said, it is not a big impact. PHP 5.2 support was dropped in commit 4650ef4. starts_with, ends_with, pattern, and blacklist won't work properly if they contain a hyphen in the pattern.

moreorless’s picture

Thanks for the reply. Spoke to my host and PHP 5.3 is available after all, but good to know it wasn't critical for Webform Validation 7.x-1.6. Many thanks for your work on this great little module. It's a real big help for my site and is critical for filtering out obscene and obnoxious form submissions. Cheers.

Status: Fixed » Closed (fixed)

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