EDIT Accidentally posted to the wrong forum, move to 'How Do I...?'please.
I installed prince, here you can see Ubuntu telling me where the binary and library files are:
Then running my PHP script, which thus far, looks like this:
Results in the following output:
Any ideas why it cant find the binary, when it is obviously there? A permissions error perhaps? I'm not a linux expert but the binary appears to be enabled for anonymous execution:
Thanks for any insight you can provide.
I installed prince, here you can see Ubuntu telling me where the binary and library files are:
user@HOST:~$ whereis prince
prince: /usr/bin/prince /usr/lib/prince /usr/share/man/man1/prince.1.gz
Then running my PHP script, which thus far, looks like this:
<?php $prince = new Prince('/usr/bin/prince'); ?>
Results in the following output:
Fatal error: Class 'Prince' not found in /app/webroot/test/index.php on line 2
Any ideas why it cant find the binary, when it is obviously there? A permissions error perhaps? I'm not a linux expert but the binary appears to be enabled for anonymous execution:
user@HOST:/usr/bin$ ll | grep 'prince'
-rwxr-xr-x 1 root root 49 Oct 8 2010 prince*
Thanks for any insight you can provide.