当前位置: 代码迷 >> PHP >> Call to undefined function bcompiler_write_header() 异常如何解决
  详细解决方案

Call to undefined function bcompiler_write_header() 异常如何解决

热度:1236   发布时间:2013-10-24 18:27:24.0
Call to undefined function bcompiler_write_header() 错误怎么解决?
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);
php function

------解决方案--------------------
安装 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
  相关解决方案