php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4720 Sybase and IMAP wont work together
Submitted: 2000-05-31 10:13 UTC Modified: 2000-08-09 07:33 UTC
From: rns at radar dot no Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 4.0.0 Release OS: Linux Redhat 6.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rns at radar dot no
New email:
PHP Version: OS:

 

 [2000-05-31 10:13 UTC] rns at radar dot no
<?php
$sbc = sybase_connect($host, $user, $passwd);
sybase_select_db($db);

$sbr = sybase_query("select count(*) from head");
if($sbr) {
  $row = sybase_fetch_array($sbr);
  echo $row[0];
} else {
  echo "BUMMER";
}
?>

./configure  |\
  --with-apxs=/home/httpd/bin/apxs |\
  --with-sybase=/opt/sybase
Gives me the expected result.

./configure  |\
  --with-apxs=/home/httpd/bin/apxs |\
  --with-sybase=/opt/sybase --with-imap
Gives me:
  Warning: Sybase: A link to the server could not be established in 
  /home/runesk/public_html/foobar/sybase.php on line 3

The foloowing libs are used:
Sybase: Sybase DB-Library/10.0.4/P/Linux Intel/Linux 2.0.36 i586/1/Thu Sep 10 13:35:34 CEST 
imap  : imap-4.7-5.src.rpm

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-08 22:30 UTC] waldschrott@php.net
Please verify that it?s still happening using the latest version of PHP (release 4.0.1pl2 or CVS).
 [2000-08-09 04:43 UTC] rns at radar dot no
I've changed job since this report, and don't have any Sybase around. So I can;t tell if this still happens.
 [2000-08-09 07:33 UTC] waldschrott@php.net
user is not able to verify this anymore
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 08 06:01:28 2025 UTC