Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to install and compile php with PDFLib

Discussion in 'General Discussion' started by shann, Nov 19, 2002.

  1. shann

    shann Well-Known Member

    Joined:
    Jul 5, 2002
    Messages:
    366
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Website Owner
    Hi,

    Some one can help me to install and compile php with PDFLib.

    Anyhelp appreciate.

    Thanks
    Shann
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Annette

    Annette Well-Known Member
    PartnerNOC

    Joined:
    Aug 12, 2001
    Messages:
    445
    Likes Received:
    0
    Trophy Points:
    316
    Grab pdflib from http://www.pdflib.com/ and build it (simple enough, just use the defaults unless there is some compelling reason to change the directory or options).

    If you don't have the php source, grab it, extract it, and then configure it with the same options you have now, but add --with-pdflib to the ./configure. Unless you change the defaults in the build of pdflib, you do not need to specify the directory.

    Restart apache, and you're done.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. carmatec

    carmatec Member

    Joined:
    Mar 9, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    US
    Anette.

    I am having a problem with that.

    I downloaded the pdflib tar ball pdflib-4.0.3-Linux.tar.gz from http://www.pdflib.com/pdflib/download/index.html.

    But when I untar it all I get is a libpdf_php.so.

    I dont get the option to to ./configure.

    Also I tried adding in php.ini extension=libpdf_php.so that did not work either.

    Please advise.

    Josh
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. shann

    shann Well-Known Member

    Joined:
    Jul 5, 2002
    Messages:
    366
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Website Owner
    hi

    Anyone can help?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Spain
    I'm not Annette, but anyway. You didn't download the source. The link to the source is down on the bottom of the page. The tarball you have to download is:
    http://www.pdflib.com/pdflib/download/pdflib-4.0.3.tar.gz
    There's also a link to the pdf.c file that must be copied to the PHP source tree (read the full instructions in pdflib).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. carmatec

    carmatec Member

    Joined:
    Mar 9, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    US
    Hello Juanra.

    Well thanx things are working smooth.

    But there is a new problem now. php's mail() function is not working it seems.

    Any suggestions.

    Regards
    Josh
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. mitul

    mitul Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    166
    See the exmin_mainlog. If it says domain unroutable then remember to allow user nobody to send mails from the twek setting of whm panel.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. carmatec

    carmatec Member

    Joined:
    Mar 9, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    US
    Hello,

    Thanks for the tip, but for the users to send mail it seems php-suexec needs to be enabled. Even setuid doesnt work......
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice