php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2784 sybase-ct does not work
Submitted: 1999-11-21 05:41 UTC Modified: 2000-03-09 20:18 UTC
From: brian_zhou at usa dot net Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0 Beta 3 OS: Linux kernel 2.2.13
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: brian_zhou at usa dot net
New email:
PHP Version: OS:

 

 [1999-11-21 05:41 UTC] brian_zhou at usa dot net
On Redhat 6.1, with kernel 2.2.13

./configure \
        --enable-versioning \
        --enable-track-vars \
        --with-apxs=/usr/local/apache/bin/apxs \
        --with-sybase-ct=/opt/sybase-11.9.2

I cannot load PHP3 & 4 at the same time, the following test page works under
PHP3 but not under PHP4beta3 (or beta2). It just shows a blank screen.

-Brian


<HTML>

<HEAD>
<TITLE>PHP test page</TITLE>
</HEAD>

<BODY>

<?php
sybase_pconnect("dbserver", "sa", "password");
sybase_select_db("pubs2");
$authors = sybase_query("select au_id, au_lname, au_fname from authors");
?>

<TABLE BORDER="1" WIDTH="500">

<?php
while ($author = sybase_fetch_array($authors)) {
?>

<TR>
<TD><?php echo $author['au_id']; ?> </TD>
<TD><?php echo $author['au_lname']; ?> </TD>
<TD><?php echo $author['au_fname']; ?> </TD>
</TR>

<?php
}
?>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-22 22:03 UTC] zeev at cvs dot php dot net
You cannot compile both PHP 3.0 and 4.0 into the same web server
(not in a trivial way anyway).

About the problem - please provide more details.  Please try to check
the return values from each Sybase function (see if sybase_pconnect()
succeeds, if sybase_select_db() succeeds, etc).  Also try to see
if there are any crashes reports in the Apache errorlog.

 [1999-12-13 16:19 UTC] joey at cvs dot php dot net
Cannot duplicate this....if we can't get more info, I'll close it
 [2000-03-09 20:18 UTC] joey at cvs dot php dot net
No info
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC