Set up PHP-FPM as you usually do.
Visit http://www.example.com/sample/test
Under PHP 5.6.0RC2:
PHP Version: 5.6.0RC2
ORIG_SCRIPT_NAME:
SCRIPT_NAME: /index.php
ORIG_SCRIPT_FILENAME:
SCRIPT_FILENAME: /var/www/example.com/htdocs/index.php
PATH_INFO: /sample/test
ORIG_PATH_INFO:
Under all previous versions of PHP:
File not found.