Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for nginx + php-fpm #43

Open
gagarine opened this issue Jun 14, 2012 · 3 comments
Open

Documentation for nginx + php-fpm #43

gagarine opened this issue Jun 14, 2012 · 3 comments

Comments

@gagarine
Copy link

Now it's apache centric ;)

This blog post explain it nicely http://www.justincarmony.com/blog/2012/04/23/php-fpm-nginx-php_value-and-multiple-values/

Basically you just have to add this line.

fastcgi_param PHP_VALUE "auto_prepend_file=/Users/simon/Sites-src/xhprof/external/header.php";

@adampetrovic
Copy link

Also, might be helpful for some. You can add auto_prepend_file="/path/to/xhprof/external/header.php" to your php.ini file. This is especially useful for those with complex PHP rewrites in their nginx server blocks, as it enables XHProf profiling globally.

@preinheimer
Copy link
Owner

I've added a link
2f6409f
and the note
58ceef1

Make sense?

@gagarine
Copy link
Author

Yep. Thanks.

But "You may want to explicitly disable it for the XHGui system unless you're interested in profiling the profiler." how do you do that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants