[PHP-DB] Sybase and PHP

2007-04-03 Thread jim_patterson
We have been using sybase with PHP4 and now are looking to move to PHP5.  I ran 
into an installation problem with PHP5 and starting looking at the bug reports 
and can't tell for sure whether sybase is being supported any longer.
I was working with PHP5 source rpm on Fedora 6 when I ran into a problem with 
recompiling it (rpmbuild -ba).  I really couldn't make much of the error.

php-5.1.6-3

Building from rpm source I get the following errors.

with standard Fedora6 src I added the following line to the
--with-sybase-ct=/opt/sybase/OCS-15_0 \

Building from rpm source I get the following errors.
-
screen error
--
checking for string.h... (cached) yes
checking for char... yes
checking size of char... configure: error: cannot compute sizeof (char), 77
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.17076 (%build)
--
partial output from config logs
config.log
before this it indicated that it was in confdefs.h
---

#define SIZEOF_LONG 4
#define SIZEOF_LONG 4
#define SIZEOF_LONG 4
#define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG_LONG_INT 8
#define SIZEOF_PTRDIFF_T 4
#define SIZEOF_SHORT 2
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define STDC_HEADERS 1
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
#define UCD_SNMP_HACK 1
#define UNDEF_THREADS_HACK
#define USE_GD_IMGSTRTTF 1
#define USE_GD_IMGSTRTTF 1
#define YYTEXT_POINTER 1
#define _GNU_SOURCE 1

configure: exit 1

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Sybase and PHP

2007-04-03 Thread Steven Cruz
I got a similar setup up and running a few months ago.  Sadly I am 
having connection problems, else I would give you the configure string I 
used. When netowrk does come around, I will see what I can do.


Steven

[EMAIL PROTECTED] wrote:

We have been using sybase with PHP4 and now are looking to move to PHP5.  I ran 
into an installation problem with PHP5 and starting looking at the bug reports 
and can't tell for sure whether sybase is being supported any longer.
I was working with PHP5 source rpm on Fedora 6 when I ran into a problem with 
recompiling it (rpmbuild -ba).  I really couldn't make much of the error.

php-5.1.6-3

Building from rpm source I get the following errors.

with standard Fedora6 src I added the following line to the
--with-sybase-ct=/opt/sybase/OCS-15_0 \

Building from rpm source I get the following errors.
-
screen error
--
checking for string.h... (cached) yes
checking for char... yes
checking size of char... configure: error: cannot compute sizeof (char), 77
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.17076 (%build)
--
partial output from config logs
config.log
before this it indicated that it was in confdefs.h
---

#define SIZEOF_LONG 4
#define SIZEOF_LONG 4
#define SIZEOF_LONG 4
#define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG_LONG_INT 8
#define SIZEOF_PTRDIFF_T 4
#define SIZEOF_SHORT 2
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define STDC_HEADERS 1
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
#define UCD_SNMP_HACK 1
#define UNDEF_THREADS_HACK
#define USE_GD_IMGSTRTTF 1
#define USE_GD_IMGSTRTTF 1
#define YYTEXT_POINTER 1
#define _GNU_SOURCE 1

configure: exit 1

  


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] sybase and php

2004-05-20 Thread Julia Simmons
Ever since we have been using PHP to access data in our Sybase database,
database permissions have been spontaneously disappearing from the tables
that are being looked at! It happens on the time frame of a couple months
between times. To fix it, I have to go into Sybase and grant select
permission on the affected table.

 

Has anybody else ever had this problem? Did you solve it?

 

Thanks!

 

Julia

 



[PHP-DB] sybase and php

2003-10-17 Thread Pedro A. Rodriguez Nurse

Hi, a need a problem.

When I try to connect a my DB Sybase from PHP, I have this error.:

Warning: sybase_connect(): Sybase: Server message: Changed database context to 
'INTERNACIONAL_CDR'. (severity 10, procedure N/A) in 
E:\WWWRoot\internacionalonline\adodb\adodb-sybase.inc.php on line 86


What happened here? .. I have Win2000 Server ...

I hope you can help me.

Thanks,

Pedro