Teste wkhtmltopdf no PHP do site ================================ PHP version: 8.4.24 PHP SAPI: litespeed disable_functions: [vazio] PATH do ambiente: /usr/local/bin:/usr/bin:/bin Usuario atual do PHP: get_current_user(): servidorzeus posix user: servidorzeus Testando caminhos absolutos -------------------------- Caminho: /home/servidorzeus/bin/wkhtmltopdf file_exists: SIM is_file: SIM is_executable: SIM shell_exec: wkhtmltopdf 0.12.6.1 (with patched qt) exec return_var: 0 exec output: wkhtmltopdf 0.12.6.1 (with patched qt) ============================== Caminho: /usr/local/bin/wkhtmltopdf file_exists: NAO is_file: NAO is_executable: NAO shell_exec: sh: /usr/local/bin/wkhtmltopdf: No such file or directory exec return_var: 127 exec output: sh: /usr/local/bin/wkhtmltopdf: No such file or directory ============================== Caminho: /usr/bin/wkhtmltopdf file_exists: NAO is_file: NAO is_executable: NAO shell_exec: sh: /usr/bin/wkhtmltopdf: No such file or directory exec return_var: 127 exec output: sh: /usr/bin/wkhtmltopdf: No such file or directory ============================== Caminho: /bin/wkhtmltopdf file_exists: NAO is_file: NAO is_executable: NAO shell_exec: sh: /bin/wkhtmltopdf: No such file or directory exec return_var: 127 exec output: sh: /bin/wkhtmltopdf: No such file or directory ============================== Caminho: /opt/bin/wkhtmltopdf file_exists: NAO is_file: NAO is_executable: NAO shell_exec: sh: /opt/bin/wkhtmltopdf: No such file or directory exec return_var: 127 exec output: sh: /opt/bin/wkhtmltopdf: No such file or directory ============================== Buscando pelo nome do comando ----------------------------- Comando: command -v wkhtmltopdf 2>&1 shell_exec: [sem retorno] exec return_var: 1 exec output: [sem retorno] ------------------------------ Comando: which wkhtmltopdf 2>&1 shell_exec: which: no wkhtmltopdf in (/usr/local/bin:/usr/bin:/bin) exec return_var: 1 exec output: which: no wkhtmltopdf in (/usr/local/bin:/usr/bin:/bin) ------------------------------ Comando: whereis wkhtmltopdf 2>&1 shell_exec: wkhtmltopdf: exec return_var: 0 exec output: wkhtmltopdf: ------------------------------ Teste finalizado.