Python cx_Oracle and Apache

Hrvoje Niksic hniksic at
Mon Aug 25 09:34:57 CEST 2008

Raja <rokkamraja at> writes:

> The code is working fine on the command line but when executing it
> on the browser i get the famouse "Premature end of script headers"
> error.

Look at the server's error log to see what the real error message is.
You are probably missing an environment variable such as ORACLE_HOME.

More information about the Python-list mailing list