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

    Nov 29, 2018
    Local Time:
    6:04 PM
    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

    May 24, 2014
    Brisbane, Australia
    Local Time:
    9:04 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    did you restart both nginx and php-fpm services afterwards ?
    Code (Text):

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