On 10/10/2005 Ales Kozumplik wrote: > Package: python-mysqldb > Version: 1.2.1c3-2 > > Description: When both php and python is enabled in apache configuration, > python scripts trying to create a cursor yields segmentation fault. > Everything is okay when run from shell (i.e. not via web/apache).
does this change when you enable only python in apache, and disable php? and how does apache run the python scripts? do you use mod-python or do you run them directly as CGIs? > this is in apache log after restart: > [Mon Oct 10 15:23:52 2005] [notice] Apache/2.0.54 (Debian GNU/Linux) > mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-16 configured -- resuming normal > operations > > this is apache log when the script is run: > [Mon Oct 10 15:24:00 2005] [error] [client 127.0.0.1] (13)Permission denied: > cannot read directory for multi: /var/www/ > [Mon Oct 10 15:24:00 2005] [notice] mod_python: (Re)importing module > 'mod_python.publisher' > [Mon Oct 10 15:24:00 2005] [notice] mod_python: (Re)importing module 'test' > with path set to '['/var/www/iis']' > [Mon Oct 10 15:24:01 2005] [notice] child pid 5537 exit signal Segmentation > fault (11) can you provide an example script that segfaults? ... jonas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

