Quote:
Originally Posted by kovidgoyal
html2epub shouldn't require admin access. What errors do you get when running it?
|
No idea what the errors are. I tried both:
PHP Code:
echo shell_exec('sh html2epub');
echo shell_exec('html2epub');
I didn't get any output.
I tried doing:
PHP Code:
echo shell_exec('ls');
echo shell_exec('sh test.sh'); //test.sh contains chdir to calibre directory and ls
Those worked just fine.
It's worth noting that the server is using CentOS, I believe, and on a thread in the Calibre forums, a guy had to install it from source to get it working.