I am trying to "compile" a php file with bambalam that uses the BCMATH library, which is built into PHP as of a while ago. When I "compile" the file, the function "bcpowmod" errors on runtime. I manually downloaded the php_bcmath.dll and included it in the compilation, but I still get an error..this time stating the DLL cannot be loaded from memory. Does anyone have any experience with this? I am at a complete loss. I am also open to other compiler suggestions....
C:\xampp\htdocs\proc>c:\Users\Mike\Desktop\bamcompile.exe -e:php_bcmath.dll test.php test.exe
Bambalam PHP EXE Compiler/Embedder 1.21
Mainfile: test.php
Outfile: test.exe
Encoding and embedding test.php
Embedding php_bcmath.dll and adding it to extension loader
test.exe created successfully!
C:\xampp\htdocs\proc>test.exe
**Warning: dl_memory(): Unable to load dynamic library 'PHP_BCMATH.DLL' - The specified module could not be found.in bambalam_init.php on line 1**
Fatal error: Call to undefined function: bcpowmod() in C:\xampp\htdocs\proc\Mat
h\BigInteger.php on line 1700
C:\xampp\htdocs\proc>