#22322 [NEW]: Shared extentions not loaded
From: web at riscom dot net
Operating system: OpenBSD 3.2
PHP version: 4.3.1
PHP Bug Type: Dynamic loading
Bug description: Shared extentions not loaded
i compiled php with all extenstion=shared
and got error, when apache start:
Unknown(): Invalid library (maybe not a PHP library)
it happends with all extension i've compiled php (mysql,gd,snmp...etc)
After reading README.SELF-CONTAINED-EXTENSIONS
i saw
#ifdef COMPILE_DL_FOO
ZEND_GET_MODULE(foo)
#endif
i found this lines in mysql.c extension but it doesnot work.
i put these 3 lines on the TOP of mysql.c
and this extension loaded successful!!
so is this right solution ? and why these 3 lines of code are in the
middle of file ?
--
Edit bug report at http://bugs.php.net/?id=22322&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22322&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22322&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22322&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22322&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22322&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22322&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22322&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22322&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22322&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22322&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22322&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22322&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22322&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22322&r=gnused
Thread (3 messages)
- web at riscom dot net