PHP 4.0 Bug #2784: sybase-ct does not work
| From: | brian_zhou at usa dot net | Date: | Sun, 21 Nov 1999 04:41:36 +0000 |
| Subject: | PHP 4.0 Bug #2784: sybase-ct does not work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12837@lists.php.net to get a copy of this message | ||
From: brian_zhou@usa.net
Operating system: Linux kernel 2.2.13
PHP version: 4.0 Beta 3
PHP Bug Type: Sybase-ct (ctlib) related
Bug description: sybase-ct does not work
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
}
?>