RE: PHP 4.0 Bug #6035 Updated: apache segfaults when using PHP DS O/unixODBC/Sybase
| From: | Luc Bouchard | Date: | Tue, 29 Aug 2000 14:06:23 +0000 |
| Subject: | RE: PHP 4.0 Bug #6035 Updated: apache segfaults when using PHP DS O/unixODBC/Sybase | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31066@lists.php.net to get a copy of this message | ||
We finally discovered the problem:
The sybase odbc driver tries to open the ~/.odbc.ini file. Since the server
is started as root, the ~/.odbc.ini file is in /root. Once apache has forked
and runs under wwwdata, the wwwdata user doesn't have access to the
/root/.odbc.ini file.
It's weird the the sybase odbc driver tries to open the /root/.odbc.ini
file. I thought it was unixODBC's job to do that.
I'll ask sybase about that.
-----Original Message-----
From: Bug Database [mailto:php-dev@lists.php.net]
Sent: Wednesday, August 23, 2000 8:09 AM
To: lbouchard@gameloft.com
Subject: PHP 4.0 Bug #6035 Updated: apache segfaults when using PHP
DSO/unixODBC/Sybase
ID: 6035
Updated by: sniper
Reported By: lbouchard@gameloft.com
Status: Feedback
Bug Type: ODBC related
Assigned To:
Comments:
Please attach a backtrace. And try using recent CVS or
snapshot from http://snaps.php.net
http://bugs.php.net/bugs-generating-backtrace.php
--Jani
Full Bug description available at: http://bugs.php.net/?id=6035