From:             limelect at bezeqint dot net
Operating system: win xp
PHP version:      5.0.0
PHP Bug Type:     Compile Failure
Bug description:  Warning: dl() [function.dl]

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 bug report at http://bugs.php.net/?id=29636&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29636&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29636&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29636&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29636&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29636&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29636&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29636&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29636&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29636&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29636&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29636&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29636&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29636&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29636&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29636&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29636&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29636&r=float

Reply via email to