Problem communicating Arduino Mega 2560 with computer using PHP

I will try to do the communication using Processing. In fact I am doing a simple interface and later I will do the communication.
I think that this will be better than PHP. Better interface and more posibilities.
Thank you for your help. Sincerely, I think I won't be able to do the communication using PHP.