Hello All,
I have a dll which is created using VC++. I need to call a function within this dll from php. I place demo.dll into apache2/bin and php/ext. Similarly, i updated php.ini with code (extension=demo2.dll). I write following code.
<?php
dl("demo2.dll");
echo sum(10,20);
?>
Following error is occured.
Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension=demo.dll in your php.ini in C:\wamp\www\test.php on line 3.
How can i fix this problem.
Please help me.
Thanks in advance.