I need instructions for how to set up pdflib in my home directory, without installing a new version of PHP. Note: my domain is set to use PHP5.
I tried following the PEAR instructions on the wiki, but they don’t work when I run /usr/local/php5/bin/pecl install pdflib at the end of them. Those instructions are here: http://wiki.dreamhost.com/index.php/PEAR
Output of pecl install pdflib is here:
[laurel]$ /usr/local/php5/bin/pecl install pdflib
downloading pdflib-2.1.2.tgz …
Starting to download pdflib-2.1.2.tgz (55,669 bytes)
…done: 55,669 bytes
10 source files, building
PHP Api Version: 20020918
Zend Module Api No: 20020429
Zend Extension Api No: 20050606
/usr/local/bin/phpize: /usr/local/tmp/tmpeano7Z/pdflib-2.1.2/build/shtool: /bin/sh: bad interpreter: Permission denied
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.
ERROR: `phpize’ failed
This is NOT A JOKE. If you can tell me how to install pdflib onto a DH domain without installing my own PHP, I will send you $20 via PayPal or Postal Mail or something else you might prefer. I need this functionality for my business and do not want to maintain my own php installation.
I have the feeling that setting a few environment variables for phpize and other php functions from the v4 ones to the v5 ones will do a lot, as will specifying where autoconf is.