PHP 4.0 Bug #7912: Imagexxx calls dont work properly. Is GD installed correctly?
| From: | aaron at crustal dot ucsb dot edu | Date: | Tue, 21 Nov 2000 23:24:23 +0000 |
| Subject: | PHP 4.0 Bug #7912: Imagexxx calls dont work properly. Is GD installed correctly? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38864@lists.php.net to get a copy of this message | ||
From: aaron@crustal.ucsb.edu
Operating system: Solaris8
PHP version: 4.0.3pl1
PHP Bug Type: GD related
Bug description: Imagexxx calls dont work properly. Is GD installed correctly?
I am starting to play around with images and found in the docs that the
imagetypes() function didn't work in php 4.0.0. So I decided to upgrade to 4.0.3pl1 and add in
support for more goodies. I used the following configure line:
./configure --with-mysql=/local/apps/mysql --with-apxs=/opt/apache/bin/apxs --with-gd=shared,/local
--with-jpeg-dir=/local --with-ttf=/local --with-t1lib=/local --with-zlib=/local
It is not clear from the configure --help output what the paths are
supposed to point to, but /local on my system is also /usr/local,
all the above items were installed with default paths, so libs are
in /local/lib and includes are in /local/include. I configured gd-1.8.3 with
all its suggested goodies. The configure and build all along seemed to go well. The same for the
php configure, make and make install. But when I try imagetypes(), it still says that imagetypes is
undefined.
I tried creating and outputting some imagefiles. I can make all the
function calls, but no files are created, either to the browser or to my unix filesystem. The new
version of php is definitely being used (restarted apache and looked at phpinfo() output). Is there
a way I can tell if GD is installed correctly?
--
Edit Bug report at: http://bugs.php.net/?id=7912&edit=1