Bob Pilly wrote:
Hi All
Im having problems using dl() to load an extension that someone has
given me. I get the following output from this simple script:
//script
<?php
if(!dl('test_php.so')){
print "Failed!";
}
else{
print "Success!";
}
?>
//output
PHP Warning: dl(): \uffff?\uffff: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20041030, debug=0, thread-safety=0
These options need to match
Has anyone seen this before? If not does anyone know how i can trace
this further?
Thanks in advance for any help!!
Cheers
Bob
Yes, this means that the module you have been given has been compiled
against a prevous version of PHP - you will either need them to send you
the source to compile against your version of PHP or get them to do it
for you, or run it against the correct version of PHP.
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php