[Twisted-web] PHP support on Windows

Abdallah Deeb abdallah.deeb at gmail.com
Sun Nov 13 11:08:29 MST 2005


Thank you, we're heading somewhere... now it's serving the HTML files
correctly, but PHP scripts die with a:
CGI Script Error
Premature end of script headers.

from twisted.internet import reactor, win32eventreactor
reactor = win32eventreactor.Win32Reactor()
reactor.listenTCP(1999, site)

>From the logs:
cmdline	'c:\\PHP\\php c:\\Code\\Web\\index.php'
command	'c:\\PHP\\php'
path	'c:\\Code\\Web'

Any ideas would be appreciated.

Thank you all guys for your help.

On 11/13/05, Jean-Paul Calderone <exarkun at divmod.com> wrote:
> http://twistedmatrix.com/projects/core/documentation/howto/choosing-reactor.html#auto8
Abdallah Deeb

More information about the Twisted-web mailing list