php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29636 Warning: dl() [function.dl]
Submitted: 2004-08-12 16:55 UTC Modified: 2004-08-12 17:01 UTC
From: limelect at bezeqint dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.0.0 OS: win xp
Private report: No CVE-ID: None
 [2004-08-12 16:55 UTC] 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 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-12 17:00 UTC] limelect at bezeqint dot net
all my test work is doen on LOCAL SERVER
with Xitami as the server
 [2004-08-12 17:01 UTC] tony2001@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.

Find & delete old php4ts.dll first. Probably it still exists in system32/ or somewhere around there.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Dec 15 21:00:01 2025 UTC