# PHP redirect fails when XSLT is used

**URL:** <https://www.ruby-forum.com/t/php-redirect-fails-when-xslt-is-used/202722>\
**Category:** NGINX\
**Created:** [February 4, 2011, 10:36am UTC](https://www.ruby-forum.com/t/php-redirect-fails-when-xslt-is-used/202722 "2011-02-04T10:36:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [February 4, 2011, 10:36am UTC](https://www.ruby-forum.com/t/php-redirect-fails-when-xslt-is-used/202722/1 "2011-02-04T10:36:09Z")

</div>

Hi all,

I have a site that is using php, and xslt transformations. PHP-FPM is  
responsible for dealing with php, and its response is then parsed with  
XSLT. This setup works fine (currently running phpBB and Plone in  
harmony), but when I use header(“Location: [http://mysite.com](http://mysite.com)”) redirect  
in a php file, the worker process dies with signal 11. The debug log for  
this: [http://pastie.org/1527636](http://pastie.org/1527636)

Is this a bug in nginx or I’m doing something wrong?

I’m using a branch of 0.7 version from:  
[http://html-xslt.googlecode.com/files/nginx-0.7.67-html-xslt-4.tar.gz](http://html-xslt.googlecode.com/files/nginx-0.7.67-html-xslt-4.tar.gz)

Regards,  
Vilmos

Posted at Nginx Forum:

> **[PHP redirect fails when XSLT is used](https://forum.nginx.org/read.php?2,172136,172136#msg-172136)**
>
> Hi all, I have a site that is using php, and xslt transformations. PHP-FPM is responsible for dealing with php, and its response is then parsed with XSLT. This setup works fine (currently running phpBB and Plone in harmony), but when I use...

---

<div class="post-metadata">

**Author:** ![vilmoss](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/2bfe46/32.png) [@vilmoss](https://www.ruby-forum.com/u/vilmoss)\
**Post date:** [February 4, 2011, 10:48am UTC](https://www.ruby-forum.com/t/php-redirect-fails-when-xslt-is-used/202722/2 "2011-02-04T10:48:08Z")

</div>

Hello!

On Fri, Feb 04, 2011 at 04:34:24AM -0500, vilmoss wrote:

> I’m using a branch of 0.7 version from:  
> [http://html-xslt.googlecode.com/files/nginx-0.7.67-html-xslt-4.tar.gz](http://html-xslt.googlecode.com/files/nginx-0.7.67-html-xslt-4.tar.gz)

Are you able to reproduce the problem with official nginx, without  
third party modules and patches? If yes, please provide backtrace  
and config, see here for instructions:

> **[GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki...](https://github.com/nginxinc/nginx-wiki)**
>
> ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com

Maxim D.
