debugging dl()
| From: | Bob Pilly | Date: | Wed, 07 Sep 2005 09:36:09 +0000 |
| Subject: | debugging dl() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-221949@lists.php.net to get a copy of this message | ||
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=0These 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