Want more timely Centmin Mod News Updates?
Become a Member

Wordpress WordPress not recognizing valid PDFtk installation

Discussion in 'Blogs & CMS usage' started by 1121, Dec 5, 2018.

  1. 1121

    1121 New Member

    13
    1
    3
    Nov 29, 2018
    Ratings:
    +2
    Local Time:
    6:12 PM
    1.15.7
    MariaDB 10.1.37
    I need PDFtk package for a Pro2PDF WordPress plugin. I have installed PDFtk package on the centminmod server and the ssh command "which pdftk" outputs as /usr/bin/pdftk
    Terminal command pdftk also works.
    However, the actual WordPress plugin is unable to recognize the PDFtk install. Normally it would show the path /usr/bin/pdftk, but not in this case.
    The plugin support mentioned that pdftk may not be available for all users and shell_exec is not restricted.
    I have removed shell_exec restriction from /usr/local/etc/php-fpm.conf
    but the plugin is still not recognizing.

    How can I make sure that nginx user has access to this pdftk package?
     
  2. eva2000

    eva2000 Administrator Staff Member

    37,261
    8,140
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,532
    Local Time:
    9:12 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    did you restart both nginx and php-fpm services afterwards ?
    Code (Text):
    nprestart
    

    How was plugin installed ? via wp-admin add new plugin or via root user SFTP upload or via pure-ftpd virtual ftp user upload ?
     
..