Question : install PDFlib on FreeBSD

I trying to add pdflib to my php on FreeBSD


This is from PHP .net
Step 1: PDFlib http://www.pdflib.com/
   download PDFlib-Lite: http://www.pdflib.com/download/pdflib-family/pdflib-lite-7/
   extract: tar -xzvf PDFlib-Lite-X.X.XpX.tar.gz
   compile: cd PDFlib-Lite-X.X.XpX && ./configure && make && make install



Step 2: Pecl for PDFlib http://pecl.php.net/package/pdflib
   install:
      install dependences: phpize (php5-dev package)
      pecl install pdflib
         path to pdflib installation? :/usr/local

Step 3: php.ini
   extension=pdf.so

Step 4:
   /etc/init.d/apache2 reload


I go to step 2
and
pecl install pdflib
give me pecl command not found

Answer : install PDFlib on FreeBSD

please try to upgrade pear: 'pear upgrade PEAR'

or if that doesn't work, you can also try: 'pear upgrade PEAR-x.x.x' (replace x.x.x with the version number you want to install)
Random Solutions  
 
programming4us programming4us