Browsing all articles in MongoDB
Saat install mongo extension untuk php di vps bersistem operasi Centos, muncul error sebagai berikut.
[~]# pecl install mongo downloading mongo-1.1.4.tgz ... Starting to download mongo-1.1.4.tgz (68,924 bytes) .................done: 68,924 bytes 18 source files, building running: phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 building in /var/tmp/pear-build-root/mongo-1.1.4 running: /root/tmp/pear/mongo/configure checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. ERROR: `/root/tmp/pear/mongo/configure' failed
Duh kenapa nih, pas install di laptop bersistem operasi Ubuntu 10.04 kagak pernah ada masalah, di Centos kok bermasalah gini ya. Setelah gogling sana gogling sini, akhirnya diputuskan untuk install manual, caranya sebagai berikut.
[~]# wget http://pecl.php.net/get/mongo-1.1.4.tgz [~]# tar -zxf mongo-1.1.4.tgz [~]# cd mongo-1.1.4 [~]# phpize [~]# ./configure [~]# make [~]# make install
Kemudian tambahkan extension=mongo.so ke file php.ini, restart apache dan ekstensi mongo sudah terinstall dan siap digunakan
Tulisan Terakhir
- Taqobalallahu mina wa minkum
- Install Nginx menggunakan Nginxcp
- Error Install PHP Mongo Extension
- Cek Apakah Nilai Sebuah Field di Tabel MySQL, Integer Atau Bukan
- WordPress dan PHP 5.3, Permalink Page Blank
Arsip
- September 2011
- Juni 2011
- Mei 2011
- Maret 2011
- Agustus 2010
- Mei 2010
- Januari 2010
- Februari 2009
- Desember 2008
- September 2008
- Agustus 2008
- Juli 2008
- Juni 2008
- April 2008
- Maret 2008
- Februari 2008
- Januari 2008
Blogroll
- Batik Murah
- Buat Blog
- Cara Buat Blog
- Cara Membuat Blog
- Endoet
- Hosting Murah Indonesia
- Iklan Baris Gratis
- Iklan Gratis
- Iklan Gratis
- Membuat Blog
- Pusat Promosi
- Website Murah
Komentar Terakhir
- kocu pada Submit form sederhana dengan ajax menggunakan mootools
- nanang pada Plugin-plugin JQuery Yang Layak Dicoba
- elyosfimuchlis pada Plugin-plugin JQuery Yang Layak Dicoba
- mruteck pada Plugin-plugin JQuery Yang Layak Dicoba
- joinonptc pada Plugin-plugin JQuery Yang Layak Dicoba
Tag
adsense indonesia
cara pindah hosting
css tableless
email scam
feed on feed
firefox 3
firefox 4 ubuntu
form css
form tableless
free wordpress theme
install firefox
install mongodb
install nginx
install nginx vps
memilih toko online
mongodb
mysql
nginxcp
online store
page capture
pear error
pecl error
pecl mongo
penghasilan tambahan
php mail localhost
php mail windows
redesain situs
repair mongodb
ringkasan berita
rss reader
scam paypal
sendmail windows
tampilan dua kolom
tampilan fleksibel
ubuntu
web capture
web screeshoot
wordpress theme