Cara enabled extension php exif di manual installasi php 5.1.6


Call to undefined function exif_imagetype()

Kalo setlah baca dari source php nya katanya module php exifnya suruh di enabled, Cara enabled extension module php exif di manual isntalation php ketika enabled extension php,

Stop services apache nya

# /wwwroot/bin/apachectl stop

Ini cara enabled php exif

#  ./configure --prefix=/wwwroot/php --with-apxs2=/wwwroot/bin/apxs --with-config-file-path=/wwwroot/php --with-mysql --with-mime_magic --with-gd --enable-exif --with-zlib-dir=/wwwroot/include/ && make && make install

Coba di lihat php module nya, sebenarnya kalo suda ada ketika di lihat di php -m tidak perlu di load lagi extension nya di php.ini nya, ini cara lihat modulenya

 # php -m
[PHP Modules]
ctype
date
dom
exif

Alhamdulillah lancar juga, terimakasih ya allah engkau telah mudahkan saya dalam prosses belajar.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s