| 作者: | jjdai (jjdai) | | 圖 | | 時間: | 2008-09-30 00:30:37 | | 來源: | 122.116.236.55 |
| | 此文: | | 點閱: | 2199 | | 回覆: | 0 |
| [服務架設][系統][PHP] Fatal error: Call to undefined function exif_read_data()
If you got a 'Fatal error: Call to undefined function exif_read_data(): .....' error during executing your PHP program, you may:
case1: (Using PHP in Microsoft Windows environment)
Edit your php.ini and move the 'extension=php_mbstring.dll' prior to 'extension=php_exif.dll'. Re-start your web-server (apache).
case2: (Linux)
Re-compile and re-install your PHP with configuration parameters --enable-exif and --enable-mbstring (compiling both exif and mbstring statically, don't use mbstring compiled as a DSO module).
Reference:
[1] http://uk2.php.net/exif_read_data
(Modified by [jjdai] from 122.116.236.55 at 2008-09-30 00:32:39)
|