#29636 [Opn]: Warning: dl() [function.dl]
| From: | limelect at bezeqint dot net | Date: | Thu, 12 Aug 2004 15:00:29 +0000 |
| Subject: | #29636 [Opn]: Warning: dl() [function.dl] | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-64500@lists.php.net to get a copy of this message | ||
ID: 29636
User updated by: limelect at bezeqint dot net
Reported By: limelect at bezeqint dot net
Status: Open
Bug Type: Compile Failure
Operating System: win xp
PHP Version: 5.0.0
New Comment:
all my test work is doen on LOCAL SERVER
with Xitami as the server
Previous Comments:
------------------------------------------------------------------------
[2004-08-12 16:55:48] limelect at bezeqint dot net
Description:
------------
i cannot find a solution altho i found many qeuestions
about this
it does not work with ANY DLL
if(!extension_loaded('killer')) {
dl('killer.dll');
}
Warning: dl() [function.dl]: killer: Unable to initialize module Module
compiled with module API=20040316, debug=0, thread-safety=1
PHP compiled with module API=20040412, debug=0, thread-safety=1
These options need to match in C:\Xitami\webpages\Test_PHP\test1.php
on line 3
php.ini has :
PHP API 20031224
PHP Extension 20040412
Zend Extension 220040412
Debug Build no
Thread Safety enabled
Reproduce code:
---------------
if(!extension_loaded('killer')) {
dl('killer.dll');
}
Actual result:
--------------
Warning: dl() [function.dl]: killer: Unable to initialize module Module
compiled with module API=20040316, debug=0, thread-safety=1
PHP compiled with module API=20040412, debug=0, thread-safety=1
These options need to match in C:\Xitami\webpages\Test_PHP\test1.php
on line 3
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29636&edit=1