Log in | Register | Lost password

Bottom
Req help for installation w/GD library
  • Posted: 02.04.2003, 02:44
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I'm using the following: Mac OS X 10.2.3, Apache 1.3.26, PHP 4.1.2, PostNuke 0.722. I tried to install the Photoshare module, but I get an error when I try to initialize it:

    "Your server does unfortunately not have the image library "GD" installed, so Photoshare cannot be installed. Please contact your web administrator in order to get GD installed."

    I installed the GD library v2.0.12 by ./configure and make install. It appeared that everything went OK (I skipped the PNG install since I didn't have the files at the time...is this OK? JPEG installed OK). I get the same error that GD is not installed when I try to initialize the module photoshare. Same thing after trying 'apachectl graceful'.

    Any obvious idea where I'm missing the mark?

    Thanks in advance.

    Rx
  • Posted: 02.04.2003, 07:25
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    My best guess is that you haven't enabled GD in the php.ini file.
  • Posted: 02.04.2003, 12:21
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    It appears that PHP does not come from Apple with GD enabled at compile time. I downloaded the PHP 4.3.0 binary distribution (which has GD support enabled) from:

    http://www.entropy.ch/software/macosx/php/

    The instructions on the above site consisted of the following:

    %curl -O http://www2.entropy.ch/download/libphp4.so.gz
    %gunzip libphp4.so.gz
    %sudo apxs -i -a -n php4 libphp4.so
    %sudo apachectl graceful

    I initialized/activated the module from within PostNuke Administration > Modules.

    Since I am new to PostNuke, it took me a while to figure out how to add Photoshare to my link menu on the left side of the screen. I finally figured out that I have to edit the PostNuke Administration > Blocks > Main Menu to add the Photoshare link.

    It's up and running. Looks good so far. Thanks.

    Rx

Template courtesy of Designs By Darren.