PHP 4.0 Bug #6035: apache segfaults when using PHP DSO/unixODBC/Sybase
| From: | lbouchard at gameloft dot com | Date: | Wed, 09 Aug 2000 04:34:33 +0000 |
| Subject: | PHP 4.0 Bug #6035: apache segfaults when using PHP DSO/unixODBC/Sybase | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28203@lists.php.net to get a copy of this message | ||
From: lbouchard@gameloft.com
Operating system: debian linux
PHP version: 4.0.1pl2
PHP Bug Type: ODBC related
Bug description: apache segfaults when using PHP DSO/unixODBC/Sybase
Hello,
If apache has been started by root, when connecting to a DSN using the sybase odbc driver we bought
from Sybase, the php page fails and I get the following message in apache's error log:
[Wed Aug 9 03:24:04 2000] [notice] child pid 20133 exit signal Segmentation fault (11)
If apache is started with a normal users, no problem.
In both cases the user and group set in httpd.conf are different from root. It's the user who
starts the daemon that causes the problem.
Here are my configures lines:
apache-1.3.12
./configure --prefix=/usr/local/apache-1.3.12 --enable-module=so
unixODBDC-1.8.10
./configure --prefix=/usr/local/unixODBC-1.8.10 --disable-gui --disable-drivers
php4.1pl2
./configure --prefix=/usr/local/php-4.0.1pl2 --with-unixODBC=/usr/local/unixODBC-
1.8.10 --with-apxs=/usr/local/apache-1.3.12/bin/apxs --disable-short-tags --enab
le-ftp --enable-wddx
And we're using a sybase odbc driver we bought from them.
I can sent it to you if required.
Thanks for your help.
Luc.