0

我从http://downloads.php.net/pierre/下载了 php_printer 扩展。但是当我尝试配置我的 php.ini 文件时,会弹出一条消息说

PHP Startup: printer: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match

我正在为 Windows 使用 EasyPHP。PHP 版本为 5.4.6,Apache 版本为 2.4.2

我经历了其他类似的问题,但我不是服务器管理员或类似的,所以我对命令行 PHP 没有任何想法,并重新编译东西。谁能找到我一个好的和简单的解决方案。

PS:如果解决方案不容易,我真的必须重新编译 PHP 扩展,请提供如何在 Windows 上执行此操作的步骤。

4

1 回答 1

2

Basically the extension was compiled to work with php 5.3, and you are trying to use it with 5.4

One solution is to downgrade EasyPHP to php 5.3 to make it work.

于 2012-09-03T18:08:51.633 回答