Call to undefined function bcompiler_write_header() 错误怎么解决?
程序员文章站
2022-05-14 11:52:01
...
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
推荐阅读
-
ThinkPHP调用common/common.php函数提示错误function undefined的解决方法
-
PHP FATAL ERROR: CALL TO UNDEFINED FUNCTION BCMUL()解决办法
-
php运行出现Call to undefined function curl_init()的解决方法
-
Fatal error: Call to undefined function curl_init()解决方法
-
ThinkPHP做文字水印时提示call an undefined function exif_imagetype()解决方法
-
Alipay支付宝调用错误:Call to undefined function openssl_sign()
-
Fatal error: Call to undefined function json_decode()解决办法
-
ThinkPHP调用common/common.php函数提示错误function undefined的解决方法
-
PHP FATAL ERROR: CALL TO UNDEFINED FUNCTION BCMUL()解决办法
-
php 验证码报错Call to undefined function imagecreatetruecolor() 多种方法无效解决思路