[openmamba-devel-it] fix per perl-GD_Graph

Tiziana tiziana.ferro a gmail.com
Mar 8 Mar 2011 13:15:09 CET


PHP gd jpeg error - library is X, caller expects Y

Problem with PHP and GD library after doing an update.

In Apache error log you could see this error:
"Wrong JPEG library version: library is 80, caller expects 62"

To fix this: pkg delete gd from ports, pkg add again, then symlink the gd*.h in
the /usr/local/include to /usr/local/lib.

Enter into custombuild:  cd /usr/local/directadmin/custombuild

Then modify configure/ap2/configure.php5 to have this line:
--with-gd=/usr/local/lib

then ./build libjpeg and then ./build php n

altre soluzioni
http://www.directadmin.com/forum/showthread.php?t=33329


Maggiori informazioni sulla lista openmamba-devel-it