Pages

Monday, June 4, 2007

Cara instalasi web php dan mysql

Cara instalasi web php dan mysql:
1. Copy php ke c:\
2. Copy file php.ini-dist (yang ada difolder php) ke folder windows, kemudian direname jadi php.ini.
3. Copy php4ts.dll ke system32.
4. Mysql diinstall
5. Apache diinstall
6. Cari diapache file httpd.conf lalu diedit
#Installing as a CGI binary
ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php
# For PHP 4 Action application/x-httpd-php "/php/php.exe"
# For PHP 5 #Action application/x-httpd-php "/php/php-cgi.exe"
# specify the directory where php.ini is SetEnv PHPRC C:/php
#Installing as an Apache module
AddType application/x-httpd-php .php
# For PHP 4 LoadModule php4_module "c:/php/sapi/php4apache.dll"
# For PHP 5 #LoadModule php5_module "c:/php/php5apache.dll"
# specify the directory where php.ini is SetEnv PHPRC C:/php
Letakkan di baris paling atas (header) file httpd.conf.
7. Untuk configurasi selanjutnya edit di php.ini (difolder windows)
8. Install mysqlfront untuk tampilan mysql yang lebih comfort.

1 comment:

  1. Cara instal kayak ginimah menih lier pisan mas....coba deh lirik http://andrikurniawanstyle.blogspot.com/ disono cara ngistalnya lebioh simple,tinggal klik-klik ajah. sip deh.

    ReplyDelete