Process a PHP5 file through a socket

Hello,

is it possible to process a php file directly in a socket without nginx?
Thanks for any ideas and help!

Greets,
Patschi