Registration problem with PDF Toolbox shell for Linux Server system


I have ordered a full license for the products "PDF Toolbox Shell for Linux" and "PDF to image converter command line for Linux". I have a Problem with the Registration.

I have both tools installed as root on the server, registered with the appropriate keys and then attached via /.profile to the PATH variable.

It works as root over SSH.

In PHP I call it as a user "www-data", whose PATH variable unfortunately is not so easy to adjust, but which is not further tragic, since I hold there the entire path and call (/ opt / pdftoolbox / bin / pdftoolbox and according to pdf2img) which also works so far.

But the registration with the key did not affect the user "www-data", here the trial is still running. For pdf2img I could use the key for the web user (www-data) in the same way (as for root) after logging in via SSH as "www-data". If I want to do the same for pdftoolbox, I get "memory access error".

Do you have any suggestions?
Thank you very much in advance!


Thanks for your message, you may pass your license key to pdftoolbox every time when you call it, for example,

/opt/pdftoolbox/bin/pdftoolbox -$ XXXXXXXXXXXXXX /www-data/sample_verypdf.pdf /www-data/sample_testcmd.pdf -merge -outfile /www-data/_out.pdf

You can also call pdftoolbox binary with command line options from your PHP code, for example,


$strCmd = '/opt/pdftoolbox/bin/pdftoolbox -$ XXXXXXXXXXXXXX /www-data/sample_verypdf.pdf  /www-data/sample_testcmd.pdf -merge -outfile /www-data/_out.pdf';
$answer = shell_exec($strCmd);
echo $answer."</br>";


If you encounter any problem with above method, please feel free to let us know.


VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!