ID: 18406
Comment by: swingcoder at msn dot com
Reported By: claus dot pruefer at yoc dot de
Status: Bogus
Bug Type: Apache related
Operating System: Suse Linux 7.3 glibc i686
PHP Version: 4.2.1
New Comment:
i have solve the problem.
1.compile freedts:
./configure --prefix=/usr/local/php/modules/freetds
--sysconfdir=/usr/local/php/modules/freetds --enable-static
--enable-shared --enable-msdblib
2.compile php:
./configure --prefix=/usr/local/php --enable-magic-quotes
--with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql
--with-freetype-dir --with-mssql=/usr/local/php/modules/freetds
--with-sybase=/usr/local/php/modules/freetds
3.edit /etc/hosts,and add line:
your_server_IP YOURSERVERNAME
4.configure freedts.conf
[YOURSERVERNAME]
host = YOURSERVERNAME
port = 1433
tds version = 8.0
client charset = UTF-8
5.finished
Previous Comments:
------------------------------------------------------------------------
[2004-04-12 01:00:24] swingcoder at msn dot com
��Ц
------------------------------------------------------------------------
[2002-07-18 07:30:54] [EMAIL PROTECTED]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-07-18 05:11:58] claus dot pruefer at yoc dot de
oh, i forgot:
with php-4.0.7RC1,
apache 1.3.12
freetds 0.52 everything works fine...
------------------------------------------------------------------------
[2002-07-18 05:09:49] claus dot pruefer at yoc dot de
sorry, i didnt backup the
gdb STACK...
but it reported an ERROR in
chunk_free() in 'glibc.so'
and terminated with a SEGMENTATION FAULT
which was written in the APACHE HTTPD_LOG
and the error is absolutely reproducable
i compiled php, apache and freetds
with DSO support and with libphp4.a
WHEN YOU DONT CALL DB_FUNCTIONS EVERYTHING WORKS FINE...
JUST FREETDS_FUNCTIONS...
then i tried iODBC WITH OPEN_LINK
here: no SEGMENTATION FAULTS, just VERY STRANGE
behavior in 'ORDER BY QUERIES' and 'TOP x' QUERIES WITH MSSQL_SERVER
queries...
ok,
hopefully that will help...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18406&edit=1