PHP警告:PHP启动:pdf:无法初始化模块

PHP警告:PHP启动:pdf:无法初始化模块,php,pdf,zend-framework,code-generation,pdflib,Php,Pdf,Zend Framework,Code Generation,Pdflib,在将pdflib表单V9更改为V8之后,我遇到了这个问题 PHP Startup:pdf:Unable to initialize module Module compiled with module API=20100525 PHP compiled with module API=20131226 These options need to match 我怎样才能修好它?提前感谢您不应该再使用V8了。 它只适用于PHP5.2-5.4(见下表),您的PHP版本看起来像是5.6或5.7,依我

在将pdflib表单V9更改为V8之后,我遇到了这个问题

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

我怎样才能修好它?提前感谢

您不应该再使用V8了。
它只适用于PHP5.2-5.4(见下表),您的PHP版本看起来像是5.6或5.7,依我拙见,您应该保持这种状态。
V9有什么问题吗

Module compiled with module API=20100525 PHP 
这意味着您将使用适用于PHP5.4的DSO,而您的新PHP版本是PHP5.6。旧的和过时的PDFlib 8不支持此新版本。因此,您必须继续使用当前的PDFlib 9,其中下载包包含所需的DSO(在几乎所有平台上)