[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] PHP 4.3.0 with pdflib



i'm having problems getting this to work.

i recompiled php to update to version 4.3.0 with '--with-pdflib=shared'.
this didn't work so i turned to web/archives. after reading this:
http://marc.theaimsgroup.com/?l=cobalt-users&m=101740664612515&w=2
i uncommented the relevant line in php.ini and restarted httpd.

my test pdf script is still coming up with this message:
Fatal error: Call to undefined function: pdf_new() in
/home/sites/site4/web/pdf.php on line 2
(where line 2 is a call to pdf_new())
i have /usr/lib/apache/php/libpdf_php.so present on my box and
'extension=libpdf_php.so' in my php.ini.

any ideas what i'm doing wrong? do i have to recompile php with
'--with-pdflib=/usr/lib' as suggested?
if so, can i just recompile php over the top of the existing set up. or do i
need delete/remove anything first?

cheers

andy