php.net |  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
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: chenfou at ms34 dot hinet dot net
New email:
PHP Version: OS:

 

 [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:
./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 - 
D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORD 
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 


				Thanks

Patches

Pull Requests

History

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

Derick
 [2001-06-12 17:35 UTC] sniper@php.net
Fixed in CVS.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 18:01:29 2024 UTC