Re: pdflib - no errors but no pdf functions!

From: Date: Sat, 10 Mar 2001 16:31:26 +0000
Subject: Re: pdflib - no errors but no pdf functions!
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2326@lists.php.net to get a copy of this message
pdf_new() does not work. I don't know why. But the other functions work. You'll have to use some of the deprecated functions. You should pdf_open instead of pdf_new(). There are some examples at the bottom of the pdf reference section of the PHP manual ----- Main screen turn on! http://jough.raspberrytea.com On Sat, 10 Mar 2001, Alain DESEINE wrote: > Got the same problem, i drop the'/lib/' part too, but nothing better got the > same error message when i try to use the > > $pdf = pdf_new(); > > instruction ==> > > Fatal error: Call to undefined function: pdf_new() in > /sites/soledon/www/htdocs/dopdf.php3 on line 6 > > the PDF section of the phpinfo() function give this to me > > pdf > PDF Support enabled > PDFLib Version 3.03 > CJK Font Support yes > In-memory PDF Creation Support yes > > No error message during compilation of PHP > > Here is the compilation sequence i use : > > ./configure --with-apache=/alain/install/apache_1.3.19 > --prefix=/usr/local/php4 --with-xml --with-mysql > --with-msql=/usr/local/Minerva --with-dbase --with-sybase-ct=/opt/sybase > --with-gd=/alain/install/gd-1.8.3 --with-pdflib=/usr/local > > And of course pdflib is complied with the --enable-shared-pdflib option, and > after pdflib compilation i'm doing a "ldconfig" to update the shared > libraries ... > > I don't understand what happen, surely a enormous mistake from me, but i > don't see ... If somebody can help ... > > Alain DESEINE. > > Jani Taskinen wrote: > > > On Thu, 8 Mar 2001, Jough wrote: > > > > >./configure --with-mysql=/usr/local/ > > >--with-apache=/home/jough/src/apache_1.3.19/ --enable-track-vars > > >--with-pdflib=/usr/local/lib/ --with-jpeg-dir=/usr/lib/ > > >--with-tiff-dir=/usr/local/lib/ > > > > Leave those '/lib/' parts out of the paths. It should work then. > > > > --Jani > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > > For additional commands, e-mail: php-install-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.install (#2326) next »