Date: Mon, 16 Mar 2009 11:41:35 -0400
Subject: Re: [PHP] pdf_new() uncalled Function

On Mon, Mar 16, 2009 at 11:32 AM, Alice Wei <> wrote:

On Mon, Mar 16, 2009 at 10:06 AM, Alice Wei <> wrote:


  I use Linux, and I had installed PHP using yum install php. I am trying to 
use the pdf_new function to create pdfs from existing text files, but I get 
this error

    PHP Fatal error:  Call to undefined function pdf_new()

I have noticed that when I run the phpinfo() command, I cannot find the PDF 
phrase at all. My php.ini file does not even have these two lines



Could anyone suggest me what kind of command I should use if I need to build 
PDFs using PHP on a Linux system?

Thanks in advance.



Express yourself with gadgets on Windows Live Spaces

I like dompdf from Its a class that takes html and 
creates a pdf from it

I saw online at that I could 
build PDF from some extension. However, I use Linux, and I don't think this 
installation using dll extension supports it. I ran the code and still get this 

Any ideas?

Thanks for your help.




Cat, the other other white meat


Search from any Web page with powerful protection. Get the FREE Windows Live 
Toolbar Today! PECL based windows installation see

another option is FPDF from another class

the classes are nice since they don't generally require the module to be 

If you are on Linux, another option might be FOP... 

  I checked out the first link you provided, and downloaded it. I don't
think I need to edit anything else from the file according to the
webpage I put the
entire extracted directory at my /var/www/html directory. Is there any
suggestion you could provide on how to "install" it? I don't see any commands 
that it provides in its manual. 

Thanks for your help.


Express yourself with gadgets on Windows Live Spaces

Reply via email to