PHP 5.6.16 is available


Diese » PECL-Extension ist nicht Teil von PHP. Information zur Installation dieser PECL-Extension finden sie im Kapitel Installation von PECL-Extensions. Zusätzliche Informationen wie neue Releases, Downloads, Quelldateien, Maintainerinformation und ein CHANGELOG finden Sie hier: »

Um diese Funktionen in PHP < 4.3.9 zu nutzen, müssen Sie PHP mit --with-pdflib[=DIR] kompilieren. DIR ist das PDFlib-Installationsverzeichnis, standardmäßig /usr/local.

add a note add a note

User Contributed Notes 4 notes

shozdeh at yahoo dot com
3 years ago
because I confused in step 2 I write this comment:
for installing following this instruction step by step:
download PDFlib-Lite-X.X.XpX form first post...

open terminal and type:

$ cd download folder...
$ sudo tar -xzvf PDFlib-Lite-X.X.XpX.tar.gz
# cd PDFlib-Lite-X.X.XpX
# ./configure
# make
# make install

# apt-get install php5-dev    : online installation if not installed
# apt-get install php-pear    : online installation if not installed
# pecl install pdflib         : online installation
    The ask be: 'path to pdflib installation? : ' enter '/usr/local'

# gedit /etc/php5/apache2/php.ini
    add ' in' 1 line

# /etc/init.d/apache2 reload  OR /etc/init.d/apache2 restart

Should work! for test you can write "$p = new PDF_new();" in a file.
p dot martelliere at gmail dot com
1 year ago
the new constructor for getting a new instance of PDF lib is $p = new PDFlib(); and not $p = new PDF_new(); anymore.
Jean-Charles Papin
4 years ago
Precisions for step 2:

- aptitude install php-pear
- peardev install pecl/pdflib
Igor Moiseev
5 years ago
Brief installation notes. In the spite of the commercialization of libpdf library this is the way to use it in the lite mode.
System: Ubuntu 8.04 + php5.2

Step 1: PDFlib
   download PDFlib-Lite:
   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
      install dependences: phpize (php5-dev package)
      pecl install pdflib
         path to pdflib installation? :/usr/local

Step 3: php.ini

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

That's it.

[Edited by RQuadling 2010/07/13 - Updated PDFlibe-Lite URL]
[Edit by danbrown AT php DOT net: Contains a typofix by "Anonymous" on 11-AUG-2010.]
To Top