facebook/hiphop-php — Issue #459: md5_file()
Author: drinehart
Created: 2012-01-05 20:01:12+00:00
State: open

When I tried to run a compiled script the the md5_file() function, I received the following error:

Fatal error: Invalid argument "len>=2^29:

I'm not sure if this is a bug or I'm doing something wrong. As a workaround I tried to use the command shell with:

$localmd5_calc = passthru("md5sum '".$in."' | cut -d ' ' -f 1", $result);

but this too failed with:

Light-weight fork not available; use the heavy one instead

I think the script was not waiting for the shell to complete processing.

Note: I'm running the compiled script within the Sun Grid Engine (and all libraries are installed on processing servers)

Can someone help?

Duane