Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default easyapache php 4.4.2 & PDFLib

    I have just upgraded PHP on one of our boxes using easyapache, a client had asked for pdflib so I compiled that in too, since the upgrade i have had to do a bit of work to get everything working again, I have Zend Optimiser compiled in (Manually) since I ran easyapache to upgrade to PHP 4.4.2 pear stopped working because of a problem with the include path, rather than edit the php.ini I just symlinked the folders it couldnt find when running the pear executable from the shell (The folders were 'Archive' and 'Console') which reside in /usr/lib/php yet the include path is set to /usr/local/lib/php this seems to have got pear running ok again, however the story is not the same for PDFlib, running a phpinfo() shows that the PDFLib extension is loaded however whenever trying to utilise it with the test script provided by PDFLib GMBH themselves, I recieve a 'Call to undefined function' error.

    I figured that i'd try and manually install PDFLib from pecl, however because my /tmp directory is set to noexec that failed, I then manually downloaded the tgz and manually compiled it in with phpize & added the extension line to my php.ini, that all went ok but I still have the same error with 'Call to undefined function'

    Does anyone have a workaround or a way to get this working, or am I missing something?

    Any Help Greatly Appreciated.

  2. #2
    Member
    Join Date
    Jun 2006
    Location
    Atlanta, GA
    Posts
    15

    Default

    Did you ever get this solved? As I am having the same issue.

    Thank you!

  3. #3
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    afraid not, pdflib gmbh themselves arent too much help for the "lite" version, I am going to buy the full featured version, I have it running on a dev box and it actually works lol

  4. #4
    Member nettigritty's Avatar
    Join Date
    Jan 2004
    Location
    Bangalore, India
    Posts
    196

    Default

    1. Login to SSH
    2. Make tmp and var/tmp exec

    mount -v -o remount,exec /tmp
    mount -v -o remount,exec /var/tmp

    3. No go ahead and install

    pecl install <anything>

    4 . And finally, make tmp and var/tmp noexec again

    mount -v -o remount,noexec /tmp
    mount -v -o remount,noexec /var/tmp

Similar Threads & Tags
Similar threads

  1. Installing PDFLib and html2ps in PHP5 with easyapache 3
    By rungss in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-31-2009, 09:20 AM
  2. How do I install pdflib? Its not in easyapache anymore
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-21-2009, 03:06 PM
  3. pdflib for php
    By ialex03 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-29-2004, 12:48 PM
  4. PDFLib with easyapache. how do you do it?
    By niyogi in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-27-2003, 03:06 PM
  5. php & apache w/ easyapache
    By dthigpen in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-08-2003, 04:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube