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


PHP warning :PHP Startup:pdf:Unable to initialize module

将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

我该如何修复它?提前感谢

Module compiled with module API=20100525 PHP 

这意味着您在PHP 5.4中使用DSO,但是您的新PHP版本是PHP 5.6。这个新版本不是不支持旧的和过时的PDFlib 8。因此,您必须保持当前的PDFlib 9,其中的下载包包含所需的DSO(几乎在所有平台上)

你不应该再用V8了。
它只适用于PHP 5.2-5.4(见这里,在第一个表下面),你的PHP版本看起来像5.6或5.7,在我看来,你应该保持这种方式。
V9有什么问题吗?