Alice Wei wrote:
> Hi, 
> 
>   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 
> 
>   extension=php_pdf.dll
>   extension=php_cpdf.dll
> 
> 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. 
> 
> Alice
> 
> 
> 
> _________________________________________________________________
> Express yourself with gadgets on Windows Live Spaces
> http://discoverspaces.live.com?source=hmtag1&loc=us

If you have pear/pecl installed you can run: pecl install pdflib

If not: yum install php-pear

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to