Sluggers,

I'm getting this error;

  Call to undefined function imageCreate()

on a new machine on which I just installed FC4(test2). The following rpms are installed (as per the distribution)

 gd-2.0.33-1
 php-5.0.4-2
 httpd-2.0.53-6

Google says that I need to download and compile php using "-with-gd" but I know that the older php rpms with FC3 are configureable to support GD and /usr/share/doc/php-4.3.4/gd_README says that gd is bundled with php.

My memory says that I need to enable GD in php somehow but I can't find any reference to it in /etc/php.ini, /etc/httpd/conf.d/php.conf on the box that works. Am I just not seeing it or have I missed something? In addition I tried to run

 </php
    phpinfo();
 ?>

to a browser but I get nothing. The httpd error log reports;

PHP Warning: Unknown: Failed opening '/var/www/html/phpinfo.php' for inclusion (include_path='/var/www/html/include') in Unknown on line 0

yet the phpinfo routine works from the command line and reports '--with-gd=shared'

Cluesticks?

Pete

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to