Jump to content

php to pdf dll extension - where to download it?


jwpryor

Recommended Posts

I was finally able to find php_pdf.dll

 

1. I added the following line  in the php.ini file under all the other extensions and put it:      extension=php_pdf.dll

2. I placed the dll in C:\PHP\ext

3. now when I run phpinfo();  I get the following error at the end of the php info window:

----------------

PHP Warning: PHP Startup: pdf: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=1 PHP compiled with module API=20050922, debug=0, thread-safety=1 These options need to match in Unknown on line 0

---------------

Is there something else I need to do to put in the new extension?

 

(using php 5.1.4 on Windows; the dll is version 5.2.1.1 dated 2-7-2007)

Link to comment
Share on other sites

I have been partially successful now creating a pdf from php by getting a dll from pdflib that is now called libpdf_php.dll.

I could never find a version 4 of php-pdf.dll that other discussions mentioned would work.

 

This version (I believe) is not free (which is okay) but very little documentation on the functions and much more difficult to read for a relatively inexperienced php programmer.

 

 

I briefly looked at fphp.org but it didn't seem robust enough for creating reports (like we need to.

 

Does anyone have other suggestions on what to use or experience with libpdf_php.dll? I can't figure out how to get the fonts to work.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.