Database Access using pyodbc. I've a problem

Doug Phillips DPhillips at
Mon Jun 18 00:09:12 CEST 2007

> -----Original Message-----
> From: at
> [ at] On
> Behalf Of Rajendran
> Sent: Sunday, June 17, 2007 3:06 AM
> To: python-list at
> Subject: Re: Database Access using pyodbc. I've a problem
> Hi Robert,
>   Thanks for your response.
> The problem I've mentioned comes up only with the Python but not with
> the PHP. Is it because PHP has been integrated with Apache and Python
> isn't? I mean, we have included these
> # For PHP 5 do something like this:
> LoadModule php5_module "c:/php/php5apache2_2.dll"
> AddType application/x-httpd-php .php
> # configure the path to php.ini
> PHPIniDir "C:/php"
> lines in the httpd.conf for Apache to understand PHP and no
> corresponding lines for Python?
> Does this make Apache to run PHP with the permissions same as user?

There are two user execution settings in Apache.  The first (User) tells
Apache which user to run as.  The second (SuExec User) tells Apache
which user to run CGI files as.  These can (and should) be handled
differently in a production system.

I'm not familiar with how apache handles these functions in a Windows
environment, but the references in a prior answer to this thread should
help you out.


More information about the Python-list mailing list