| minggu |
Senin |
Selasa |
Rabu |
Kamis |
Jum`at |
Sabtu |
|
| 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 10 | 11 | 12 | | 13 | 14 | 15 | 16 | 17 | 18 | 19 | | 20 | 21 | 22 | 23 | 24 | 25 | 26 | | 27 | 28 | 29 | 30 | 31 | |
|
Komentar Pengunjung>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INSTALASI PHP v3.0.16:
1. Download dari sini: http://www.pangsit.com/files/php-3.0.16.tar.gz, dan copy-kan ke /usr/local/download
2. Ketikkan perintah-perintah berikut ini:
tar xzf php-3.0.16.tar.gz -C ../etc
cd ../etc
ln -s php-3.0.16 php
cd php
./configure --with-mysql=/usr/local/mysql --with-config-file-path=/www/conf --with-apache=../httpd --enable-track-vars
make
make install
cd ../httpd
./config.status --activate-module=src/modules/php3/libphp3.a
make
bin/apachectl stop
make install
bin/apachectl start
cd ../php
cp php3.ini-dist /www/conf/php3.ini
cd /www/conf
pico httpd.conf
3. Ada beberapa baris spt dibawah ini:
#AddType application/x-httpd-php3 .php3
#AddType application/x-httpd-php3-source .phps
Coba cari, dan jika sudah ketemu, hapus tanda # dari awal baris tsb masing2.
Tekan Ctrl-O, Enter (untuk menyimpan perubahan tadi), Ctrl-X.
4. Ketikkan perintah2 berikut ini:
cd /usr/local/etc/httpd/bin
./apachectl restart
5. Selesai!
Kini Apache+MySQL+PHP sudah terpasang di server Linux kita.
Instalasi gagal? Tidak berjalan?
Pastikan lagi bahwa semua perintah diatas sudah diketikkan persis apa adanya, termasuk huruf besar dan kecilnya. 95% kesalahan adalah krn kesalahan mengetik, termasuk besar/kecilnya huruf.
|
Back |
|