RE: [PHP] undefined function imagecreate()
| From: | Jay Blanchard | Date: | Thu, 07 Aug 2003 16:23:03 +0000 |
| Subject: | RE: [PHP] undefined function imagecreate() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-158673@lists.php.net to get a copy of this message | ||
[snip]
What am I looking for in the output of phpinfo?
Must I alter extensions in php.ini?
Is this gd librabry not inlcuded in the originial install of php?
[/snip]
You are looking to see soemthing like this in the Configure Command
section
Configure Command './configure' '--with-apxs=/usr/local/sbin/apxs'
'--with-config-file-path=/usr/local/etc' '--enable-versioning'
'--with-system-regex' '--disable-debug' '--enable-track-vars'
'--with-zlib' '--with-mysql=/usr/local' '--prefix=/usr/local/'
'--enable-ftp' 'i386--freebsd4.5' '--with-jpeg-dir=/usr/local'
'-with-png-dir=/usr/local' '--with-gd=/usr/local'
See '--with-gd=/usr/local'
You shouldn't have to mess with php.ini. GD library may not be compiled
with PHP dependent upon the version.