Hi,
As the PHP manual says at [
php.net], the Open Source version that comes with PHP is PDFlib Lite which "...allows free use only under certain conditions". If you plan to use PDFLib in a commercial setup, you will need to purchase a licence.
The FPDF product is self-contained and free.
Regards,
toivo
Sydney, Australia