same issue for me. php works fine, script can be run from command line.