php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18575 Segmentation fault accessing sybase functions
Submitted: 2002-07-25 15:09 UTC Modified: 2002-08-26 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: che at atlantic dot net Assigned:
Status: No Feedback Package: Sybase (dblib) related
PHP Version: 4.2.2 OS: Redhat 7.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
23 + 38 = ?
Subscribe to this entry?

 
 [2002-07-25 15:09 UTC] che at atlantic dot 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!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-25 16:45 UTC] che at atlantic dot net
MS SQL functions work, the sybase functions do not.
 [2002-07-25 19:57 UTC] sniper@php.net
Try replacing the --with-sybase with --with-sybase-ct
(with fresh sources!)

 [2002-08-26 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Nov 28 02:01:26 2020 UTC