#22322 [Bgs]: Shared extentions not loaded
| From: | web at riscom dot net | Date: | Thu, 20 Feb 2003 14:06:35 +0000 |
| Subject: | #22322 [Bgs]: Shared extentions not loaded | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33701@lists.php.net to get a copy of this message | ||
ID: 22322
User updated by: web at riscom dot net
Reported By: web at riscom dot net
Status: Bogus
Bug Type: Dynamic loading
Operating System: OpenBSD 3.2
PHP Version: 4.3.1
New Comment:
it is bug. because after i fix it all works perfect.
Previous Comments:
------------------------------------------------------------------------
[2003-02-20 07:31:48] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Ask these questions on the appropriate mailing list.
------------------------------------------------------------------------
[2003-02-20 04:17:35] web at riscom dot net
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 this bug report at http://bugs.php.net/?id=22322&edit=1