php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11926 precompiled php_pdf.dll does not work
Submitted: 2001-07-06 07:25 UTC Modified: 2001-07-07 06:04 UTC
From: rose at b92 dot net Assigned:
Status: Closed Package: PDF related
PHP Version: 4.0.6 OS: windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rose at b92 dot net
New email:
PHP Version: OS:

 

 [2001-07-06 07:25 UTC] rose at b92 dot net
Hi,

The pre-compiled php_pdf.dll included with 4.0.6 is based on PDFlib version 4.0.0 ($Revision: 1.79.2.1 $).

HOWEVER, according to pdflib.com, version 4.0.0 contains a datetime bomb and will not work past 2001-07-01.

Amusingly enough, PDFlib 4.0.0 was used for PHP4.0.6, released only shortly before this dll would cease to function forever...

An attempt to access pdf functions produces the following error: "Fatal error: PDFlib error: Beta expired - retrieve new version from www.pdflib.com in [script] on line [number]".

Since PDFlib 4.0.1 is available since 2001-05-18, perhaps the next release could include a php_pdf.dll based on 4.0.1?

OR, a fix could be made available on the site (please) because my c++ compiler chokes on 4.0.1, and the documentation included is obviously meant for people who are already experienced with compiling their own dlls...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-06 08:32 UTC] rose at b92 dot net
Addendum: set system date to anything before 2001-07-01 and this version of php_pdf.dll will work.  Not a very useful workaround, but...

 [2001-07-07 06:04 UTC] joey@php.net
You can download a fixed version of pdflib.dll from pdflib.com.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 13:01:32 2024 UTC