php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10023 Call to Undefined Function: pdf_new()
Submitted: 2001-03-27 09:58 UTC Modified: 2001-03-27 10:19 UTC
From: jack_challen at ocsl dot co dot uk Assigned:
Status: Closed Package: PDF related
PHP Version: 4.0.4pl1 OS: HP-UX 11.00
Private report: No CVE-ID: None
 [2001-03-27 09:58 UTC] jack_challen at ocsl dot co dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-27 10:19 UTC] sniper@php.net
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

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 14:01:29 2024 UTC