PHP 4.0 Bug #6035 Updated: apache segfaults when using PHP DSO/unixODBC/Sybase
| From: | Bug Database | Date: | Tue, 29 Aug 2000 21:57:03 +0000 |
| Subject: | PHP 4.0 Bug #6035 Updated: apache segfaults when using PHP DSO/unixODBC/Sybase | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31130@lists.php.net to get a copy of this message | ||
ID: 6035
Updated by: sniper
Reported By: lbouchard@gameloft.com
Status: Closed
Bug Type: ODBC related
Assigned To:
Comments:
User feedback:
-------------
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.
-------------
Closed bug report as this wasn't bug in php4 .
--Jani
Full Bug description available at: http://bugs.php.net/?id=6035