1

wkhtmltopdf Only working with SUDO

view story
linux-howto

http://askubuntu.com – I installed wkhtmltopdf and wkhtmltoimage on my VPS. (linode server) with ABC as logged in user (admin rights granted). I found now wkhtmltoimage is working very well with my PHP's shell_exec command, but as for wkhtmltopdf is neither giving any response nor any error. I logged in with SSH and run the following command wkhtmltopdf http://www.cnn.com /home/path/file.pdf But it is returning this Segmentation Fault (core dumped) But just by prefixing the command with sudo it works smoothly Now what I want is to ask "How to make the command wkhtmltopdf to be used without the sudo argument (i (HowTos)