noob question: php developing dll error

This is a discussion on noob question: php developing dll error within the PHP General forums, part of the PHP Programming Forums category; I am getting the following error Warning: mymodule: Unable to initialize module Module compiled with debug=0, thread-safety=1 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-21-2004
David
 
Posts: n/a
Default noob question: php developing dll error

I am getting the following error

Warning: mymodule: Unable to initialize module Module compiled with debug=0,
thread-safety=1 module API=20020429 PHP compiled with debug=0,
thread-safety=1 module API=20010901 These options need to match in
c:\apache\htdocs\test\test_script.php on line 3
Module mymodule is not compiled into PHP


my php file looks like this

<?
if(!extension_loaded('mymodule')) {
dl('project1.dll');
}


$module = 'mymodule';

if (extension_loaded($module)) {
$str = "module loaded";
} else {
$str = "Module $module is not compiled into PHP";
}
echo "$str\n";

$functions = get_extension_funcs($module);
//echo $functions;
//echo "Functions available in the $module extension:<br>\n";
//foreach($functions as $func) {
// echo $func."<br>\n";
//
//}

?>



Can anyone help?

TIA, David


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0