Hi
I'm using PHP 5.1.6 and need the PDFLIB functionality. Therefore I marked the tickbox PDFlib in WHM and recompiled PHP.
In phpinfo I can see, PHP is configured with pdflib:
But there is no section in phpinfo for PDF below. On another server with pdflib, I can see this section.
When I try the testscript fom php.net for PHP5 I get this error message:
Fatal error: Class 'PDFlib' not found in /home/username/public_html/test.php on line 4
Can someonw help me with this problem? Or is PDFlib not working with this PHP version?
Michael
I'm using PHP 5.1.6 and need the PDFLIB functionality. Therefore I marked the tickbox PDFlib in WHM and recompiled PHP.
In phpinfo I can see, PHP is configured with pdflib:
Code:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/local' '--with-xml' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--enable-discard-path' '--with-pdflib' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--with-zip' '--with-zlib'
When I try the testscript fom php.net for PHP5 I get this error message:
Fatal error: Class 'PDFlib' not found in /home/username/public_html/test.php on line 4
Can someonw help me with this problem? Or is PDFlib not working with this PHP version?
Michael