Re: help with PDF - undefined function
| From: | Jon Rosenberg | Date: | Wed, 03 Jan 2001 18:53:54 +0000 |
| Subject: | Re: help with PDF - undefined function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32533@lists.php.net to get a copy of this message | ||
Thanks....that makes sense..
----- Original Message -----
From: "Andrew Rush" <andy@mainetoday.com>
To: "Jon Rosenberg" <php@columbusinteractive.com>
Sent: Wednesday, January 03, 2001 1:50 PM
Subject: Re: [PHP] help with PDF - undefined function
>
> On Wednesday, January 3, 2001, at 01:42 PM, Jon Rosenberg wrote:
>
> > I am trying to get his sample code from the php manual to work:
> >
> > I get the following error:
> > Fatal error: Call to undefined function: pdf_open() in
> > /home/sites/site5/web/pdf.php on line 3
> >
> > pdf_open() is a built-in function of PHP, so I'm not sure why this isn't
> > working. I'm using pdflib 3.03 and PHP 4.0.3pl1 on linux. Any ideas?
> > I can see that it is indeed making the file in the directory, but why is
> > this function 'undefined'?
>
> you need to compile PHP with PDF support enabled. recompile with
"--with-pdflib[=DIR]". a quick look at
http://www.php.net/manual/install.configure.php
should help you along the
way.
>
>
>
> have a great day,
> andy
>
> :: Andrew Rush :: Lead Systems Developer :: MaineToday.com ::
> **************************************************************************
> "Crippled but free, blind all the time, i was learning to see"
>
> - J. Garcia / R. Hunter
> **************************************************************************
>
> The views expressed herein are not necessarily those of my employer, but
they let me have them anyway.
>