PHP virtual impossible on nginx?

It seems this is impossible on nginx,since php virtual is function
attached to apache,but still posting this in hope how someone managed to
make this work.For some reason a lot of scripts uses php virtual include
instead just php include and that means they cant work on nginx unless i
use SSI with SHTML extension.But i realy dont like SHTML extension plus
i need to have support for SSI included on nginx configure for
that,would rather use php extension if possible.