PHP 4.0 Bug #10023 Updated: Call to Undefined Function: pdf_new()
| From: | sniper@php.net | Date: | Tue, 27 Mar 2001 15:19:57 +0000 |
| Subject: | PHP 4.0 Bug #10023 Updated: Call to Undefined Function: pdf_new() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50067@lists.php.net to get a copy of this message | ||
ID: 10023
Updated by: sniper
Reported By: jack_challen@ocsl.co.uk
Old-Status: Open
Status: Closed
Bug Type: PDF related
Assigned To:
Comments:
You need to get PHP from CVS. Try the latest CVS snapshot
from http://snaps.php.net/ as the php_new() was added after
4.0.4pl1 was released. Or you can wait for 4.0.5 to be released.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-03-27 09:58:35] jack_challen@ocsl.co.uk
The script I used was from the PHP Documentation PDFlib clock demo
I downloaded and installed PDFlib 3.03 from source, (using --enable-shared-pdflib)
./configure --with-zlib=/opt/zlib --with-apache=../apache_1.3.19 --with-mysql=/opt/mysql
--with-pdflib=/opt/pdflib
A phpinfo() reports pdflib as installed and enabled (and the correct version)
Trouble is, I can't access any of the PDF functions - when accessing a copy of the clock demo
script, I get the
following error:
Fatal error: Call to undefined function: pdf_new() in /opt/www/htdocs/cal/munch.php on line 6
This is my first time using PDFlib, so I'm quite possibly doing something dumb here.
cheers
jack
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10023&edit=2