I am trying to run PDFTron for php following the instructions.
However, when called: PDFNet::Initialize();
i'm getting an error
Fatal error: Uncaught Error: Call to undefined function PDFNet_Initialize() in .../PDFNetPHP_core.php
I assume that PDFNet_Initialize
is part of extension because i can't see declaration in PDFNetPHP_core.php
file
I setup exenstion PDFNetPHP.so
and enable_dl = on
in php.ini. Also when i run test in PDFNetWrappers/Samples/AddImageTest/PHP
then it's looks ok:
PDFNet is running in demo mode.
Permission: write
Done. Result saved in addimage.pdf...<br />
when i run php -m
module PDFNetPHP
is on list
what am I doing wrong?