Bug #18575 Updated: Segmentation fault accessing sybase functions
| From: | sniper@php.net | Date: | Thu, 25 Jul 2002 23:57:13 +0000 |
| Subject: | Bug #18575 Updated: Segmentation fault accessing sybase functions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15247@lists.php.net to get a copy of this message | ||
ID: 18575
Updated by: sniper@php.net
Reported By: che@atlantic.net
-Status: Open
+Status: Feedback
Bug Type: Sybase (dblib) related
Operating System: Redhat 7.2
PHP Version: 4.2.2
New Comment:
Try replacing the --with-sybase with --with-sybase-ct
(with fresh sources!)
Previous Comments:
------------------------------------------------------------------------
[2002-07-25 16:45:34] che@atlantic.net
MS SQL functions work, the sybase functions do not.
------------------------------------------------------------------------
[2002-07-25 15:09:32] che@atlantic.net
A segmentation fault occurs after successfull compilation of sybase
support using Freetds 0.53.
Freetds:
./configure --prefix=/usr/local/freetds --with-tdsver=7.0
PHP:
./configure --with-mysql --with-gd=shared --enable-bcmath
--enable-calendar --enable-exif --enable-ftp --enable-mailparse
--enable-trans-sid --enable-sockets --enable-memory-limit
--with-config-file-path=/etc --with-apxs
--with-sybase=/usr/local/freetds
Compilation shows Sybase support is [yes]
I watched sybase extension compile with no errors during the make
process.
This link will display phpinfo showing the sybase support:
http://dev.atlantic.net/phpinfo.php
When accessing a page with the sybase_connect function the server
returns a 404-"Page cannot be diplayed" error.
On running the binary from the command-line it has a "Segmentation
Fault".
Other than that PHP works fine!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18575&edit=1