首页 >后端开发 >php教程 >Call to undefined function bcompiler_write_header() 错误怎么解决?

Call to undefined function bcompiler_write_header() 错误怎么解决?

WBOY
WBOY原创
2016-06-23 14:23:061128浏览

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.net/package/bcompiler

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

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

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn