Quote:
Originally Posted by Quantnet.org
i'm on a VPS so i have full control over my server. Here is the step i used
wget http://user.it.uu.se/~jan/html2ps-1.0b5.tar.gz
tar xvfz html2ps-1.0b5.tar.gz
cd html2ps-1.0b5
./install
Click yes and set directory..it get installed in /usr/local/bin/
cd /usr/local/bin/
chmod 755 html2p*
Still the same error...did i chmod correctly ? What do i miss ?
|
The developer states that error is:
Quote:
that is a problem of not having html2ps on your server (or it being in a different path). You'll need to install it in your home directory most likely if you do not have root access on the server
|
So, that being said.. can you execute
html2ps from your shell?
Quote:
# whereis html2ps
html2ps: /usr/bin/html2ps /usr/X11R6/bin/html2ps /usr/bin/X11/html2ps /usr/share/man/man1/html2ps.1.gz
|
Quote:
# html2ps -v
html2ps version 1.0 beta5
|
Also, this was mentioned on the same topic by the author:
Quote:
There is PHPs open_basedir, if "/usr/local/bin/" is not within the allowed path, then php scripts won't be able to access the file.
Also check your php.ini file to see if anything has been defined in the directive 'disable_functions'
|
You may want to try locating html2ps within your webroot, seeing if that will work.