Q:
Why would you do that?
A: 
django-php allows you to include PHP code directly in your Django templates, like this:
{% load php %}{% php echo 9; %}
See the source code for more examples.
The php-cgi binary.
django-php is available on PyPI, so the usual incantation will suffice, whichever you like best:
$ pip install django_php# or$ easy_install django_php
Add django_php to your INSTALLED_APPS.
Not generally required:
PHP_CGI = '/usr/local/bin/php-cgi'