|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11107 PHP+Sybase+iPlanet
Submitted: 2001-05-25 02:22 UTC Modified: 2001-06-12 17:35 UTC
From: chenfou at ms34 dot hinet dot net Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 4.0.4pl1 OS: Solaris 2.6,2.7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
21 + 40 = ?
Subscribe to this entry?

 [2001-05-25 02:22 UTC] chenfou at ms34 dot hinet dot net
When I use PHP(4.0.4pl1)+Sybase ASE(11.9.2)+Apache(1.3.17) on SUN Solaris(2.6) is very perfect.
Recently I must replace Apache by iPlanet(4.1).It is no error when i config this setup,
but when I make this,I get some error message.
(I have installed package:gcc(2.95.2),perl(5.005.03),bison(1.25),authconf(2.13),automake(1.4) in my system)

./configure \
--with-nsapi=/user1/web1/server-home \
--with-sybase=/opt/sybase \
--prefix=/usr/local/bin \
--with-config-file-path=/usr/local/bin \
--exec-prefix=/usr/local/bin \
--enable-memory-limit=yes \
--enable-debug=no \
--enable-trans-sid \
--enable-track-vars \
--enable-magic-quotes \
--enable-libgcc \

if PHP and iPlanet Compiled together,have no problem,but add --with-sybase argument then have error message.
if PHP and Sybase Compiled together,have no problem,but add --with-nsapi argument then have error message.

error message:

Making all in sybase 
make[2]: Entering directory `/user1/php-4.0.4pl1/ext/sybase' 
make[3]: Entering directory `/user1/php-4.0.4pl1/ext/sybase' 
/bin/sh /user1/php-4.0.4pl1/libtool --silent --mode=compile gcc -I. -I/user1/ph 
p-4.0.4pl1/ext/sybase -I/user1/php-4.0.4pl1/main -I/user1/php-4.0.4pl1 -I/user1/ 
web1/server-home/plugins/include -I/user1/php-4.0.4pl1/Zend -I/user1/php-4.0.4pl 
1/ext/mysql/libmysql -I/opt/sybase/include -I/user1/php-4.0.4pl1/ext/xml/expat/x 
mltok -I/user1/php-4.0.4pl1/ext/xml/expat/xmlparse -I/user1/php-4.0.4pl1/TSRM - 
ER=21 -I../TSRM -DTHREAD=1 -g -O2 -pthreads -c php_sybase_db.c 
php_sybase_db.c: In function `php_if_sybase_query': 
php_sybase_db.c:781: `core_globals' undeclared (first use in this function) 
php_sybase_db.c:781: (Each undeclared identifier is reported only once 
php_sybase_db.c:781: for each function it appears in.) 
make[3]: *** [php_sybase_db.lo] Error 1 
make[3]: Leaving directory `/user1/php-4.0.4pl1/ext/sybase' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/user1/php-4.0.4pl1/ext/sybase' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/user1/php-4.0.4pl1/ext' 
make: *** [all-recursive] Error 1 



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-26 15:52 UTC]
Can you please try php 4.0.5 and see if it is fixed?

 [2001-06-12 17:35 UTC]
Fixed in CVS.


PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Oct 01 08:01:25 2023 UTC