Problem creating PDF on linux m/c

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pratibharaut
    New Member
    • Jan 2007
    • 7

    Problem creating PDF on linux m/c

    Hello friends,

    I am trying to create PDF file on linux but got the error for the function
    PDF_new() undefined function.
    So I find the libpdf-php.so . and put it into /etc/PHP folder but since i got the same error for it.

    Any body tried the code for the same.
    Pls. share with me.

    Thanks inadvance
    Pratibha
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    This must have to do with the installation of the pdf library in your Linux environment. So I will copy this thread to the Linux forum and leave this thread in here.

    Maybe the Linux forum visiting members can help you. Good luck.

    Ronald :cool:

    Comment

    • michaelb
      Recognized Expert Contributor
      • Nov 2006
      • 534

      #3
      Check which php version you have;
      php_new() was added in some 4.x release.

      Also make sure that pdf extension is loaded:

      Code:
      extension_loaded('pdf');
      Actually, phpinfo(); may give you all this information.

      Comment

      Working...