I'm having a weird problem where I can't get the PHP exif module to
work. It IS installed but I get the error *Fatal error*: Call to
undefined function exif_read_data() in.. in my script.
# port list installed | grep php
php5 @5.3.8 lang/php5
php5-exif
Well, you could do a $port contents php5-exif and see where all the
files are installed, and check if that directory is in you PHP
include_path! :)
g...@gulik.org Gmail wrote:
I'm having a weird problem where I can't get the PHP exif module to
work. It IS installed but I get the error *Fatal
Ok, it's only not working with Apache. I wrote a small test script that
works fine but not when a web page is calling that function.
Per your instructions:
# port contents php5-exif
Port php5-exif contains:
/opt/local/lib/php/extensions/no-debug-non-zts-20090626/exif.so
On Jan 12, 2012, at 11:26, g...@gulik.org Gmail wrote:
# port list installed | grep php
Note that port list does not do what you think it does:
https://trac.macports.org/wiki/FAQ#portlist
So what you probably wanted was:
# port installed name:php
Or, equivalent but slower:
# port