L. V. Lammert wrote:
> Can someone point me in the right direction to determine what packages
>> are required for 'GD2' support, php5, OBSD 4.3? The SilverStripe
CMS is
>> asking for 'GD2', but they don't provide enough information to
isolate
>> the required packages.
php5-gd
Found the problem!!
php5-gd-5.2.5-no_x11 installs:
/var/www/lib/php/modules/gd.so
HOWEVER gd.so MUST BE INSTALLED IN:
/usr/local/lib/php/modules
in order for libphp5.so to find it when Apache loads!
I tried this but I am still getting errors relating to GD using PHP5
I also copied it into the chroot, but made no difference.
PHP Warning: imagesx(): supplied argument is not a valid Image resource
in /var/www/htdocs/users/webmail/plugins/twc_weather/twc_support.php on
line 631
[Wed Feb 4 12:20:01 2009] [error] PHP Warning: imagesy(): supplied
argument is not a valid Image resource in
/var/www/htdocs/users/webmail/plugins/twc_weather/twc_support.php on
line 632
[Wed Feb 4 12:20:01 2009] [error] PHP Warning: imagepng(): supplied
argument is not a valid Image resource in
/var/www/htdocs/users/webmail/plugins/twc_weather/twc_support.php on
line 644
[Wed Feb 4 12:20:02 2009] [error] PHP Warning: imagecreatefromgif()
[<a href='function.imagecreatefromgif'>function.imagecreatefromgif</a>]:
URL file-access is disabled in the server configuration in
/var/www/htdocs/users/webmail/plugins/twc_weather/twc_support.php on
line 629
I recall now that I had this problem the last time I installed a php5
module, .. is anyone aware of why this happens? A php module is not
required inside the chroot, so I am uncertain as to why that is the
default installation in any case. Why do they not install to
/usr/lical/lib/php where they are required?
Lee