The php executable is inside the php/bin directory, not just bin/.