erlang connecting to php