Use phpython to write python code in your php projects without using WSGI, CGI or FastCGI.
Only two steps to change your mind
- create a simple php file and require the phpython lib
<?php
## file: index.php
require_once 'phpython/phpython.php';
phpython::import('demo.py');
- create a simple python file it is smart imported
## demo.py
print "Hello World"
PLEASE: Notify me any problem bianco@javanile.org