我正在尝试"编译"一个带有bambalam的php文件,它使用BCMATH库,该库是很久以前内置于PHP中的。当我"编译"文件,函数" bcpowmod"运行时错误。我手动下载了php_bcmath.dll并将其包含在编译中,但我仍然收到错误..这次说明无法从内存中加载DLL。有人对这个有经验么?我完全失去了。我也对其他编译器建议持开放态度......
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>