# Fastcgi\_cache php5-fpm and ssi problem

**URL:** <https://www.ruby-forum.com/t/fastcgi-cache-php5-fpm-and-ssi-problem/220450>\
**Category:** NGINX\
**Created:** [June 9, 2012, 7:56pm UTC](https://www.ruby-forum.com/t/fastcgi-cache-php5-fpm-and-ssi-problem/220450 "2012-06-09T19:56:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [June 9, 2012, 7:56pm UTC](https://www.ruby-forum.com/t/fastcgi-cache-php5-fpm-and-ssi-problem/220450/1 "2012-06-09T19:56:54Z")

</div>

Hi,

I’m try to use ssi with fastcgi\_cache (fpm) with but the ssi isn’t  
executed.  
When I view the source, the include command is listed and nothing  
appends:

Is there any incompatibility about running ssi and fastcgi\_cache?

Thanks

Nuno

Posted at Nginx Forum:

> **[fastcgi\_cache php5-fpm and ssi problem](https://forum.nginx.org/read.php?2,227393,227393#msg-227393)**
>
> Hi, I'm try to use ssi with fastcgi\_cache (fpm) with but the ssi isn't executed. When I view the source, the include command is listed and nothing appends: \<!--# include virtual="/ssi-data.php?id=1" --\> Is there any incompatibility

---

<div class="post-metadata">

**Author:** ![nfn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/b19c9b/32.png) [@nfn](https://www.ruby-forum.com/u/nfn)\
**Post date:** [June 9, 2012, 8:04pm UTC](https://www.ruby-forum.com/t/fastcgi-cache-php5-fpm-and-ssi-problem/220450/2 "2012-06-09T20:04:29Z")

</div>

Just a quick note.

I’m testing this with IPB and the request uri (/forum/topic/1-welcome/)  
is redirect internally using try\_files to /index.php:

2012/06/09 03:20:53 [debug] 2811#0: \*1 http script var:  
“/forum/topic/1-welcome/”  
2012/06/09 03:20:53 [debug] 2811#0: \*1 trying to use file:  
“/forum/topic/1-welcome/” “/usr/share/nginx/www/forum/topic/1-welcome/”  
2012/06/09 03:20:53 [debug] 2811#0: \*1 http script var:  
“/forum/topic/1-welcome/”  
2012/06/09 03:20:53 [debug] 2811#0: \*1 trying to use dir:  
“/forum/topic/1-welcome/” “/usr/share/nginx/www/forum/topic/1-welcome/”  
2012/06/09 03:20:53 [debug] 2811#0: \*1 trying to use file:  
“/forum/index.php” “/usr/share/nginx/www/forum/index.php”  
2012/06/09 03:20:53 [debug] 2811#0: \*1 internal redirect:  
“/forum/index.php?”

In the logs, using debug I see a line like this referring ssi:

2012/06/09 03:20:53 [debug] 2811#0: \*1 http ssi filter  
“/forum/index.php?”

Thanks

Posted at Nginx Forum:

> **[Re: fastcgi\_cache php5-fpm and ssi problem](https://forum.nginx.org/read.php?2,227393,227394#msg-227394)**
>
> Hi, I'm try to use ssi with fastcgi\_cache (fpm) with but the ssi isn't executed. When I view the source, the include command is listed and nothing appends: \<!--# include virtual="/ssi-data.php?id=1" --\> Is there any incompatibility
