Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
fscache appears to rely on the md5_file function provided only by php versions 4.2 and greater.
As far as I know, drupal still supports php 4.1.x. The supplemental code to prepend to the fscache.module would be (garnered from the php.net contributed comments for md5_file):
if (!function_exists('md5_file')) {
function md5_file($file_name)
{
if (!file_exists($file_name)) {
trigger_error('md5_file(): Unable to open file', E_USER_WARNING);
} else {
$file_string = implode('', file($file_name));
return md5($file_string);
}
}
}
Comments
Comment #1
gordon CreditAttribution: gordon commentedAdded to cvs
Comment #2
(not verified) CreditAttribution: commented