The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FDF with cpanel

Discussion in 'General Discussion' started by divyadivu, May 12, 2011.

  1. divyadivu

    divyadivu Registered

    Joined:
    May 4, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Does anyone know how FDF can be installed with cpanel? I did the following steps.

    #wget http://download.macromedia.com/pub/developer/acrobat/FDFToolkitForUnix.tar.gz
    #tar -zxvf FDFToolkitForUnix.tar.gz
    #cd FDFToolkitForUnix
    #cd Headers\ and\ Libraries/

    From here copy the headers and libraries ( FDF.so, libFdfTk.so, FdfTk.h, FDF.pm to /usr/local/lib and
    /usr/local/include

    open the file "/var/cpanel/easy/apache/rawopts/all_php5" ( if PHP 4 is running then
    "/var/cpanel/easy/apache/rawopts/all_php4" ) and add following line.

    --with-fdftk=/usr/local

    where "/usr/local/ is the installation directory.

    Finally run "/scripts/easyapache"


    Once recompiled, when i access phpinfo page, fdf is listed in the configure command section. At the same time, I also get a warning at the bottom which is as follows.

    Fatal error: Call to undefined function fdf_get_value() in /home/divya/public_html/info.php on line 5

    Has anyone got it working?

    Thanks,
    Divya.
     
Loading...

Share This Page