[Twisted-Python] problem with twcgi.PHPScript

Ottavio Campana ottavio at campana.vi.it
Sun Jan 13 09:38:52 EST 2008

Yuri Ginsburg ha scritto:
> Looks that you are passing you are passing your script's file name as
> second argument to spawnProcess method instead of passing filter
> (which '/usr/lib/cgi-bin/php5'), so spawnProcess tries to spawn
> /tmp/index.php which, most probably, does not have execute
> permissions.
> I'd try
> reactor.spawnProcess(p, self.filter, [self.filtrer,
> self.filename]+qargs, env, os.path.dirname(self.filename))

it works!

Thank you.

Non c'e' piu' forza nella normalita', c'e' solo monotonia.

More information about the Twisted-Python mailing list