Kind of...
"Call to undefined function" means PHP is not loading the extension at
all. So we can start here.
Can't you run phpinfo()? I found a typo on your example down there.
> </php
> phpinfo();
> ?>
Should be:
<?php
phpinfo();
?>
If phpinfo() doesn't do anything, it's more serious than just GD not
running. I have no source knowledge to tell why this would be
happening, IF this is happening. First of all, try to figure out
what's going on with phpinfo(), and then, if you manage to get it
working, check the output to see if GD is loaded.
And last, compile it from source if you're still having problems. I
never had issues when doing so.
On 5/11/05, Peter Rundle <[EMAIL PROTECTED]> wrote:
> 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
>
--
Julio C. Ody
http://www.livejournal.com/users/julioody/
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html