Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Jul 2002
    Posts
    367

    Default How to install and compile php with PDFLib

    Hi,

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

    Anyhelp appreciate.

    Thanks
    Shann

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    445

    Default

    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.
    Annette
    Hosting Matters, Inc.
    http://www.hostmatters.com

  3. #3
    Member
    Join Date
    Mar 2003
    Location
    US
    Posts
    19

    Default

    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

  4. #4
    Member
    Join Date
    Jul 2002
    Posts
    367

    Default hi

    Anyone can help?

  5. #5
    Member
    Join Date
    Sep 2001
    Location
    Spain
    Posts
    779

    Default

    Originally posted by carmatec
    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.
    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/downloa...b-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).

  6. #6
    Member
    Join Date
    Mar 2003
    Location
    US
    Posts
    19

    Default

    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

  7. #7
    Member
    Join Date
    Feb 2003
    Posts
    291

    Default

    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.
    Mitul

  8. #8
    Member
    Join Date
    Mar 2003
    Location
    US
    Posts
    19

    Default

    Hello,

    Thanks for the tip, but for the users to send mail it seems php-suexec needs to be enabled. Even setuid doesnt work......

Similar Threads & Tags
Similar threads

  1. Problem: compile php with PDFLIB and PHP 5.1.6
    By CoolMike in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 09-08-2007, 05:32 AM
  2. php double compile install?
    By djroketboy in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-25-2005, 10:28 PM
  3. FreeBSD 5.1- How to install pdfLIB?
    By Miquel in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-14-2004, 03:43 PM
  4. PDFlib Install ?
    By Francisco in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-24-2004, 02:50 PM
  5. Install PHP Zip module and zziplib - Compile PHP individually
    By Arvand in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-16-2003, 06:04 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube