From: haoxinf at cn dot ibm dot com
Operating system: AIX 6.1.5
PHP version: 5.4.7
Package: Dynamic loading
Bug Type: Bug
Bug description:cannot load ibm_db2 modules on AIX 6.1.5
Description:
------------
Hi,
I installed PHP5.4.7 and IBM HTTP Server (IHS) 7. Then build the ibm_db2
with source code v1.9.4 and deployed. But when start IHS, errors are:
PHP Warning: PHP Startup: Unable to load dynamic library
'/opt/freeware/lib/php
/modules/ibm_db2.so' - rtld: 0712-001 Symbol executor_globals was
referenced\n
from module /opt/freeware/lib/php/modules/ibm_db2.so(), but a runtime
defini
tion\n of the symbol was not found. in Unknown on line 0
[Thu Oct 18 14:28:23 2012] [notice] PLUGIN: mod_was_ap22_http:
apache_log_header
: WebSphere Plugins loaded.
[Thu Oct 18 14:28:23 2012] [notice] PLUGIN: mod_was_ap22_http:
apache_log_header
: --------------------Plugin Information-----------------------
[Thu Oct 18 14:28:23 2012] [notice] PLUGIN: mod_was_ap22_http:
apache_log_header
: Bld version: 7.0.0
[Thu Oct 18 14:28:23 2012] [notice] PLUGIN: mod_was_ap22_http:
apache_log_header
: Bld date: Aug 19 2008, 23:40:14
[Thu Oct 18 14:28:23 2012] [notice] PLUGIN: mod_was_ap22_http:
apache_log_header
: Webserver: IBM_HTTP_Server
[Thu Oct 18 14:28:23 2012] [notice] PLUGIN: mod_was_ap22_http:
apache_log_header
: --------------------------------------------------------------
[Thu Oct 18 14:28:23 2012] [notice] Using config file
/usr/IBM/HTTPServer/conf/h
ttpd.conf
[Thu Oct 18 14:28:23 2012] [notice] IBM_HTTP_Server/7.0.0.0 (Unix)
PHP/5.4.7 con
figured -- resuming normal operations
[Thu Oct 18 14:28:23 2012] [notice] CoreDumpDirectory not set; core dumps
may no
t be written for child process crashes
ibm_db2 extension is built with:
./configure --with-IBM_DB2=/opt/IBM/db2/V9.7
--with-php-config=/opt/freeware/bin/php-config
config and make operation are successful.
php -m output below:
root@/opt/freeware/etc>#php -m
[PHP Modules]
bcmath
bz2
Core
ctype
curl
date
dom
ereg
fileinfo
filter
ftp
gd
hash
ibm_db2
iconv
json
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcre
PDO
pdo_sqlite
Phar
posix
Reflection
session
SimpleXML
soap
sockets
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
php -v output:
root@/opt/freeware/etc>#php -v
PHP 5.4.7 (cli) (built: Sep 17 2012 11:53:31)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
Fred
--
Edit bug report at https://bugs.php.net/bug.php?id=63300&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=63300&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=63300&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=63300&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=63300&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=63300&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=63300&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=63300&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=63300&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=63300&r=support
Expected behavior: https://bugs.php.net/fix.php?id=63300&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=63300&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=63300&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=63300&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63300&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=63300&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=63300&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=63300&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63300&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=63300&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=63300&r=mysqlcfg