I have hosted my site on shared hosting. (Linux) I have placed phantomjhs in export/bin folder and provided 755 Permission. shell_exec() also enabled.
Even I am getting null result for
if(!function_exists('shell_exec')) {
throw new \Exception( "exec is disabled");
return false;
}
$result = shell_exec($command);
// echo str_replace("<", "<", $result); exit;
if (strpos($result, ";")===false) {
throw new \Exception("Could not execute phantomjs");
}
Please let me know if any suggestions.