Instalasi XAMPP di Mac OS X

13,June,2007 at 8:41 (Apache, Hobby, MySQL, PHP, Terserah)

1. Pertama Donlot XAMPP For Mac Disini

2. Menginstall XAMPP
*Instalasi memerlukan kuasa admin
Buka Terminal dan ketik
sudo su
lalu masukkan password untuk root
tar -xfvz /path-ke-direktori/xampp-macosx-0.6.2.tar.gz -C /


3. Menjalankan XAMPP dan Menghentikan XAMPP :

3a. Kembali ke Terminal dan login sebagai root :
sudo su

3b. Masukkan perintah untuk menjalankan XAMPP :
/Applications/xampp/xamppfiles/mampp start
Anda akan melihat notifikasi dibawah jika berhasil:

Starting XAMPP for MacOS X 0.6.2…
XAMPP: Starting Apache with SSL (and PHP5)…
XAMPP: Starting MySQL…
XAMPP: Starting ProFTPD…
XAMPP for MacOS X started.
Ready. Apache and MySQL are running.

3c. Lalu ketikan http://localhost di browser anda.
3d. Untuk menghentikannya ketik :
/Applications/xampp/xamppfiles/mampp stop

4. Parameter lainnya untuk menjalankan service pilihan :
start Starts XAMPP.
stop Stops XAMPP.
restart Stops and starts XAMPP.
reload Apache, MySQL and - if started - ProFTPD reload their config files
startapache Only starts the Apache.
startssl Starts the Apache SSL support. This command activates the SSL support permanently, e.g. if you restart XAMPP in the future SSL will stay activated.
startmysql Only the MySQL database ist started.
startftp Only the ProFTPD-Server is started. Via FTP you can upload files for your web server (user “nobody”, password “xampp”). This command activates the ProFTPD permanently, e.g. if you restart XAMPP in the future FTP will stay activated.
stopapache Stops the Apache.
stopssl Stops the Apache SSL support. This command deactivates the SSL support permanently, e.g. if you restart XAMPP in the future SSL will stay deactivated.
stopmysql Stops the MySQL database.
stopftp Stops the ProFTPD server. This command deactivates the ProFTPD permanently, e.g. if you restart XAMPP in the future FTP will stay deactivated.
reloadapache The Apache webserver reloads its config files.
reloadmysql The MySQL database reloads its config files.
reloadftp ProFTPD reloads its config files.

Sekrinsut-nya :
Start XAMPP XAMPP Running

Selamat mencoba ..
resources

Permalink No Comments

Kenangan Buruk Bersama Apache, MySQL dan PHP di Linux

22,December,2006 at 9:18 (Apache, Hobby, LINUX, MySQL, PHP)

Ga tau kenapa Webserver Apache 1.3x ku yang di Ubuntu Linux rada gokil
segala aplikasi PHP yang konek ke database MySQL, trus mau aku tampilin ke browser dibilang error ama Apache-nya,
padahal server MySQL-nya udah aku cek, tapi ternyata baik-baik aja … settingan PHP udah bener …
httpd.conf and site-enable.conf juga fine-fine aja dicek lewat commandline, bahkan Apachetop juga bilang bener saat lagi monitoring.

Konfigurasi SSL juga bener !!

Bingung, karena baru kali ini ngalamin yg kayak gini, apa karena modul yang aku install bentrok ya?
bentrok,,, tapi package-nya ga ada yg broken … duuh apanya ya…..????

Sempet breprasangka FireFox-nya yang error, trus nyoba dibuka pake konqueror, epiphany, semua browser di Linux, bahkan pake Lynx sekalipun, tetap sama aja tampilannya.

error messagenya :
Internal server error bla..bla..bla !

emang sih banyak buanget modul yang kuinstall :
mod php5
mod ruby
mod python
mod perl
mod ssl
etc …

Percobaan terakhir,
semua yang berbau Apache 1.3x di uninstall, trus diganti ama Apache 2x
sama aja …. bahkan dipanggil pake nama DNS lokal pun hasilnya tetap sama.
Tapi dulu aku installin semuanya, bisa jalan kok ! gara-gara Linux-nya di re-install malah jadi error gini.
Taulah tar aja dibenerin lagi, udah ngantuuk berat..
Terpaksa besok pake WAMP tuk sementara :( , tapi aku butuh banget SSL-nya dan WAMP ga ada
fasilitas SSL-nya … BT dah !
Nyoba pake XAMPP yang ada SSL-nya, tapi malah gokil di WinXP (ga bisa),
padahal firewall udah dimatiin, dasar Ndows jadi IlFeel sendiri mau benerin-nya!
Parah …..!
:(

Permalink 4 Comments