Page 1 of 1

Call to undefined function: 'bcmul'

PostPosted: February 17th, 2010, 2:47 am
by azureljas@codeplex

Hi everyone,

I got a problem, Call to undefined function: 'bcmul'

I compiled the php code from http://www.phpclasses.org/browse/package/4121.html

After that I try to test it with a win form, and got "Call to undefined function: 'bcmul'"

Could you have me to fix it?

TYA

I have created a file named App.config in the phpproject's folder,

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <phpNet>
    <classLibrary>
      <add assembly="php_curl.mng, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="curl" />
      <add assembly="php_bcmath.mng, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="bcmath" />
    </classLibrary>
  </phpNet>
</configuration>

Now, it throw:

"Call to undefined external function 'bcmul', extension 'php_bcmath' - check configuration" - exception