in reply to Re: Strange things with MP2 and GD
in thread Strange things with MP2 and GD

I have solved my problem by recompiling Apache without PHP and GD works now without trouble. So I think, it's effectivly a library path problem with the original gd library used by GD and an another one added by PHP install process (with gd support). Why does GD works correctly sometimes still a great mystery for me ... What kind of debugging could I try ? I have only checked Apache logs. Thanks all for your help (and for Graph::Template that I will try soon !)

Replies are listed 'Best First'.
Re: Re: Re: Strange things with MP2 and GD
by Anonymous Monk on Jan 30, 2004 at 09:20 UTC
    To end with that, the problem is effectively a lib one. PHP module has is own libgd version which is used when configure is invoked with '--with-gd'. So, when a CGI Perl invokes GD, some strange things occures.

    To avoid that without suppress PHP or PHP gd support, it's necessary to pass to configure '--with-gd=<path>' where <path> points to system directory where is the gd include directory and the libgd file. For me, I've used '--with-gd=/usr'.

    And no more strange things !

    Thanks again

    --

    poum