Using PDFNet for PHP in PHP 5.5+

140 views
Skip to first unread message

Support

unread,
Mar 13, 2014, 3:22:09 PM3/13/14
to pdfne...@googlegroups.com
Q:

I have been trying to use the PHP Libraries for PDFNEt, and have run into issues. The main issue I have is that the library refuses to load within PHP. I get error messages from PHP that the library is not valid. I am using the latest download for both OSX and Linux, neither of which seems to work. The “PDFNetPHP.so” does not ship with the Mac OSX version of PDFNet, but I did try to use the 64bit Linux version, and that did not work. Testing with Unbuntu 13 also failed to load the library. On OSX I am running Mavericks with PHP 5.4, on Ubuntu I am running PHP 5.5

 

Is there another version of the library I should be using?

--------
A:

Currently pre-built PHP bindings releases for PDFNet are only targeting PHP 5.3.6. Unfortunately PHP 5.5. extensions ABI is not compatible with 5.3.6.

 

We understand that this is a bit of an issue because not everyone will be using a specific version of PHP that we link with. Fortunately, we recently published the source code PHP binding so that you build the version you need. To get started,

please see the following links :


https://groups.google.com/d/msg/pdfnet-sdk/Bb7_Lcj536o/UKKMIHJ-8nAJ

http://blog.pdftron.com/2014/02/28/pdf-sdk-bindings-for-php-python-and-ruby/

https://github.com/PDFTron/PDFNetWrappers

Reply all
Reply to author
Forward
0 new messages