Hello,
I'm running php-4.2.3 under UNIX with the following config [from phpinfo()]:
'./configure' '--with-apxs=/usr/local/sbin/apxs' '--with-pgsql=shared,/usr/local/' '--with-mysql=/usr/home/barry20/dev/mysql' '--with-png-dir=/usr/local/lib' '--with-gd' '--with-jpeg-dir=/usr/local/lib' '--enable-exif'
I did a rehash then I restarted apache and I still keep on getting this error:
Fatal error: Call to undefined function: exif_imagetype() in ...
Anyone have any idea of what could be wrong?
The file is quite simple:
<html><body>
<?= exif_imagetype("/tmp/x.jpg") ?>
</body></html>
Cheers.