# PHP virtual impossible on nginx?

**URL:** <https://www.ruby-forum.com/t/php-virtual-impossible-on-nginx/206653>\
**Category:** NGINX\
**Created:** [May 6, 2011, 5:22pm UTC](https://www.ruby-forum.com/t/php-virtual-impossible-on-nginx/206653 "2011-05-06T17:22:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [May 6, 2011, 5:22pm UTC](https://www.ruby-forum.com/t/php-virtual-impossible-on-nginx/206653/1 "2011-05-06T17:22:15Z")

</div>

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.
