From:             clarkjohnston at comcast dot net
Operating system: RHEL4
PHP version:      4.3.9
PHP Bug Type:     Sybase-ct (ctlib) related
Bug description:  Sybase: Unable to allocate connection record

Description:
------------
After installing php-4.3.9-3.6.src.rpm I modified the php.spec file to add
--with-sybase-ct=/opt/sybase/OCS-12_5

Everything appeared to compile fine but after update installing the rpms I
get the error 
'Warning: sybase_connect(): Sybase:Unable to allocate connection record.'
when attempting to run code.

I have done this before on RHEL3 and did not run into this problem.

The server is running fine and I can use isql from this server and connect
to SYBASESR


%configure \
        --cache-file=../config.cache \
        --with-config-file-path=%{_sysconfdir} \
        --with-config-file-scan-dir=%{_sysconfdir}/php.d \
        --enable-force-cgi-redirect \
        --disable-debug \
        --enable-pic \
        --disable-rpath \
        --enable-inline-optimization \
        --with-bz2 \
        --with-db4=%{_prefix} \
        --with-curl \
        --with-exec-dir=%{_bindir} \
        --with-freetype-dir=%{_prefix} \
        --with-png-dir=%{_prefix} \
        --with-gd=shared \
        --enable-gd-native-ttf \
        --without-gdbm \
        --with-gettext \
        --with-ncurses=shared \
        --with-gmp \
        --with-iconv \
         --with-jpeg-dir=%{_prefix} \
        --with-openssl \
        --with-png \
        --with-pspell \
        --with-xml \
        --with-expat-dir=%{_prefix} \
        --with-dom=shared,%{_prefix} \
        --with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \
        --with-xmlrpc=shared \
        --with-pcre-regex=%{_prefix} \
        --with-zlib \
        --with-layout=GNU \
        --enable-bcmath \
        --enable-exif \
        --enable-ftp \
        --enable-magic-quotes \
        --enable-sockets \
        --enable-sysvsem \
        --enable-sysvshm \
        --enable-track-vars \
        --enable-trans-sid \
        --enable-yp \
        --enable-wddx \
   
--with-pear=/usr/share/pear \
        --with-imap=shared --with-imap-ssl \
        --with-kerberos \
        --with-ldap=shared \
        --with-mysql=shared,%{_prefix} \
        %{?_with_oci8:--with-oci8-instant-client=shared} \
        %{?_with_mssql:--with-mssql=shared} \
        %{?_with_mhash:--with-mhash=shared} \
        --with-pgsql=shared \
        --with-snmp=shared,%{_prefix} \
        --with-snmp=shared \
        --enable-ucd-snmp-hack \
        --with-unixODBC=shared,%{_prefix} \
        --with-sybase-ct=/opt/sybase/OCS-12_5 \
        --enable-memory-limit \
        --enable-shmop \
        --enable-calendar \
        --enable-dbx \
        --enable-dio \
        --enable-mbstring=shared --enable-mbstr-enc-trans \
        --enable-mbregex \
        --with-mime-magic=%{_datadir}/file/magic.mime \
        $* || tail -300 config.log


Reproduce code:
---------------
script:
        $server="SYBASESR";
        $user="sa";
        $pass="";
        $con =sybase_connect($server,$user, $pass);




-- 
Edit bug report at http://bugs.php.net/?id=33183&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33183&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33183&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33183&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33183&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33183&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33183&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33183&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33183&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33183&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33183&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33183&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33183&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33183&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33183&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33183&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33183&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33183&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33183&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33183&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33183&r=mysqlcfg

Reply via email to