当前位置:Gxlcms > PHP教程 > Calltoundefinedfunctionbcompiler_write_header()错误怎么解决?

Calltoundefinedfunctionbcompiler_write_header()错误怎么解决?

时间:2021-07-01 10:21:17 帮助过:19人阅读

php function

php程序运行时出现:Fatal error: Call to undefined function bcompiler_write_header() 错误,怎么解决。谢谢。代码如下:
$fh = fopen($this->targetPaths[$key].'encrypt.php', "w");                    bcompiler_write_header($fh);                    bcompiler_write_file($fh, $this->targetPaths[$key]);                    bcompiler_write_footer($fh);                    fclose($fh);


回复讨论(解决方案)

安装 bcompiler 扩展 :http://pecl.php.com/package/bcompiler

需要安装 http://www.php.com/manual/en/book.bcompiler.php

安装方式:http://www.php.com/manual/en/bcompiler.installation.php

人气教程排行